|
@@ -138,6 +138,7 @@ class AliCallBackController extends \Phalcon\Mvc\Controller |
|
|
$model = SelfSupportForSchoolOrd::findFirst("out_order_no = '$out_order_no'"); |
|
|
$model = SelfSupportForSchoolOrd::findFirst("out_order_no = '$out_order_no'"); |
|
|
if (empty($model)) { |
|
|
if (empty($model)) { |
|
|
$model = new SelfSupportForSchoolOrd(); |
|
|
$model = new SelfSupportForSchoolOrd(); |
|
|
|
|
|
$model->create_at = date("Y-m-d H:i:s"); |
|
|
} |
|
|
} |
|
|
$model->enterprise_id = $userIdentity->enterprise_id; |
|
|
$model->enterprise_id = $userIdentity->enterprise_id; |
|
|
$model->uid = $userIdentity->uid; |
|
|
$model->uid = $userIdentity->uid; |
|
@@ -160,7 +161,6 @@ class AliCallBackController extends \Phalcon\Mvc\Controller |
|
|
$model->order_status = ($biz_content["order_status"] == "ORDER_SUCCESS") ? 2 : 1; //支付状态 |
|
|
$model->order_status = ($biz_content["order_status"] == "ORDER_SUCCESS") ? 2 : 1; //支付状态 |
|
|
$model->debt_business_code = $biz_content["debt_business_code"] ?? ""; |
|
|
$model->debt_business_code = $biz_content["debt_business_code"] ?? ""; |
|
|
$model->debt_business_msg = $biz_content["debt_business_msg"] ?? ""; |
|
|
$model->debt_business_msg = $biz_content["debt_business_msg"] ?? ""; |
|
|
$model->create_at = date("Y-m-d H:i:s"); |
|
|
|
|
|
$model->update_at = date("Y-m-d H:i:s"); |
|
|
$model->update_at = date("Y-m-d H:i:s"); |
|
|
$model->save(); |
|
|
$model->save(); |
|
|
|
|
|
|
|
|