Selaa lähdekoodia

update

master
DengBiao 1 vuosi sitten
vanhempi
commit
34c5e175bd
1 muutettua tiedostoa jossa 7 lisäystä ja 4 poistoa
  1. +7
    -4
      src/applet/app/controllers/AliCallBackController.php

+ 7
- 4
src/applet/app/controllers/AliCallBackController.php Näytä tiedosto

@@ -120,12 +120,16 @@ class AliCallBackController extends \Phalcon\Mvc\Controller
}
}

//新增`自营-学校-订单表`数据
$model = new SelfSupportForSchoolOrd();
// 修改 / 新增`自营-学校-订单表`数据
$out_order_no = $biz_content["out_order_no"] ?? "";
$model = SelfSupportForSchoolOrd::findFirst("out_order_no = '$out_order_no'");
if (empty($res)) {
$model = new SelfSupportForSchoolOrd();
}
$model->enterprise_id = $userIdentity->enterprise_id;
$model->uid = $userIdentity->uid;
$model->user_identity_id = $userIdentityId;
$model->out_order_no = $biz_content["out_order_no"] ?? "";
$model->out_order_no = $out_order_no;
$model->trade_no = $biz_content["trade_no"] ?? "";
$model->consumer = $biz_content["consumer"] ?? "";
$model->buyer_id = $biz_content["buyer_id"] ?? "";
@@ -183,5 +187,4 @@ class AliCallBackController extends \Phalcon\Mvc\Controller
}



}

Ladataan…
Peruuta
Tallenna