|
@@ -136,7 +136,7 @@ class AliCallBackController extends \Phalcon\Mvc\Controller |
|
|
// 修改 / 新增`自营-学校-订单表`数据 |
|
|
// 修改 / 新增`自营-学校-订单表`数据 |
|
|
$out_order_no = $biz_content["out_order_no"] ?? ""; |
|
|
$out_order_no = $biz_content["out_order_no"] ?? ""; |
|
|
$model = SelfSupportForSchoolOrd::findFirst("out_order_no = '$out_order_no'"); |
|
|
$model = SelfSupportForSchoolOrd::findFirst("out_order_no = '$out_order_no'"); |
|
|
if (empty($res)) { |
|
|
|
|
|
|
|
|
if (empty($model)) { |
|
|
$model = new SelfSupportForSchoolOrd(); |
|
|
$model = new SelfSupportForSchoolOrd(); |
|
|
} |
|
|
} |
|
|
$model->enterprise_id = $userIdentity->enterprise_id; |
|
|
$model->enterprise_id = $userIdentity->enterprise_id; |
|
|