|
|
@@ -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 |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |