金柚静态 支付修改
This commit is contained in:
@@ -146,7 +146,7 @@ class Alipay {
|
||||
$update_data['TradeNo'] = $alipay_no;
|
||||
$update_data['OrderState'] = 90;
|
||||
if($order_model->updateOne(['OrderNo'=>$order_no],$update_data)) {
|
||||
$account_info = json_decode($order_info['remark2']);
|
||||
$account_info = json_decode($order_info['remark2'],true);
|
||||
|
||||
$user_model = new UserModel();
|
||||
$user_info = $user_model->getOne(['Id' => $order_info['UserId']]);
|
||||
|
||||
@@ -129,7 +129,7 @@ class Wxpay {
|
||||
$update_data['OrderState'] = 90;
|
||||
$order_model->updateOne(['OrderNo'=>$order_no],$update_data);
|
||||
|
||||
$account_info = json_decode($order_info['remark2']);
|
||||
$account_info = json_decode($order_info['remark2'],true);
|
||||
|
||||
$user_model = new UserModel();
|
||||
$user_info = $user_model->getOne(['Id' => $order_info['UserId']]);
|
||||
|
||||
Reference in New Issue
Block a user