diff --git a/src/applet/app/controllers/AliCallBackController.php b/src/applet/app/controllers/AliCallBackController.php index 85b4c54..5051c48 100644 --- a/src/applet/app/controllers/AliCallBackController.php +++ b/src/applet/app/controllers/AliCallBackController.php @@ -118,7 +118,7 @@ class AliCallBackController extends \Phalcon\Mvc\Controller $model->cp_merchant_id = $biz_content["cp_merchant_id"] ?? ""; $model->trade_amount = $biz_content["trade_amount"] ?? ""; $model->face_time = $biz_content["face_time"] ?? ""; - $model->order_status = ($biz_content["order_status"] == "ORDER_SUCCESS") ? 1 : 0; //支付状态 + $model->order_status = ($biz_content["order_status"] == "ORDER_SUCCESS") ? 2 : 1; //支付状态 $model->debt_business_code = $biz_content["debt_business_code"] ?? ""; $model->debt_business_msg = $biz_content["debt_business_msg"] ?? ""; $model->create_at = date("Y-m-d H:i:s");