From 6703a19d7c4a6ef7fbbcbdbc9ae34f8f8a960867 Mon Sep 17 00:00:00 2001 From: lyt Date: Fri, 18 Jan 2019 13:47:07 +0800 Subject: [PATCH] =?UTF-8?q?ipaylinks=20APP=E7=BB=84=E7=9A=84=E6=94=B6?= =?UTF-8?q?=E6=AC=BE=E6=94=B6=E5=88=B0=E6=8E=A8=E9=80=81=E4=B9=9F=E4=B8=80?= =?UTF-8?q?=E6=A0=B7=E5=BD=95=E5=85=A5.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pay/controllers/iPayLinksService.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/webht/third_party/pay/controllers/iPayLinksService.php b/webht/third_party/pay/controllers/iPayLinksService.php index e3e7ebeb..685a5a42 100644 --- a/webht/third_party/pay/controllers/iPayLinksService.php +++ b/webht/third_party/pay/controllers/iPayLinksService.php @@ -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) ) {