ipaylinks APP组的收款收到推送也一样录入.

feature/trippest
lyt 7 years ago
parent 99bc15d2ae
commit 6703a19d7c

@ -428,10 +428,10 @@ class IPayLinksService extends CI_Controller
$this->Note_model->set_invoice($item->IPL_dealId, $orderid_info->orderid . '_' . $orderid_info->ordertype);
//检测是否是APP订单,默认不处理
if ($orderid_info->ordertype == 'A') { //APP自动出票的订单不需要处理
$this->Note_model->update_send($item->IPL_dealId, 'send');
continue;
}
// if ($orderid_info->ordertype == 'A') { //APP自动出票的订单不需要处理
// $this->Note_model->update_send($item->IPL_dealId, 'send');
// continue;
// }
//添加支付信息入库
//没有分配订单之前先添加付款记录,这个过程可能会执行多次,必须在添加记录前查找是否有数据
if (!empty($orderid_info)) {
@ -459,11 +459,11 @@ class IPayLinksService extends CI_Controller
$item->IPL_payerEmail,
$item->IPL_dealId,
$ht_memo);
// if ($advisor_info->COLI_WebCode == 'CHTAPP' && $advisor_info->COLI_State == 11) {
// //只修改APP组的订单状态并且订单进度是我的订单
// $this->IPayLinks_model->update_biz_coli_state($GAI_COLI_SN, 8); //把订单状态改为已付款
// $this->IPayLinks_model->insert_biz_order_log($GAI_COLI_SN, 'BS8');
// }
if ($advisor_info->COLI_WebCode == 'CHTAPP' && $advisor_info->COLI_State == 11) {
//只修改APP组的订单状态并且订单进度是我的订单
$this->IPayLinks_model->update_biz_coli_state($GAI_COLI_SN, 8); //把订单状态改为已付款
$this->IPayLinks_model->insert_biz_order_log($GAI_COLI_SN, 'BS8');
}
} else {
// 把订单状态设置为13-新订单已支付
if (false == $this->IPayLinks_model->if_biz_gai_exists($item->IPL_dealId) ) {

Loading…
Cancel
Save