更新用户需金额

This commit is contained in:
yaooo 2023-09-25 15:41:17 +08:00
parent ce086b0157
commit 26d680995e

View File

@ -98,7 +98,7 @@ class ServeOrderRepository extends BaseRepository
$arr = [
'type_id' => $ret['type_id'],
'is_margin' => $ret['is_margin'],
'margin' => $ret['margin'],
'margin' => $ret['recharge_margin'],
];
$param = [
'status' => 0,
@ -109,7 +109,7 @@ class ServeOrderRepository extends BaseRepository
'pay_type' => $data['pay_type'],
'attach' => 'meal',
'order_info' => json_encode($arr,JSON_UNESCAPED_UNICODE),
'pay_price' => $ret['margin'],
'pay_price' => $ret['recharge_margin'],
];
return compact('key', 'param');