金柚静态 支付修改

This commit is contained in:
“wanyongkang”
2024-02-02 09:50:54 +08:00
parent 5eca703e56
commit 7eb03c75c7
2 changed files with 2 additions and 2 deletions

View File

@@ -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']]);

View File

@@ -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']]);