更新用户需金额
This commit is contained in:
parent
ce086b0157
commit
26d680995e
@ -98,7 +98,7 @@ class ServeOrderRepository extends BaseRepository
|
|||||||
$arr = [
|
$arr = [
|
||||||
'type_id' => $ret['type_id'],
|
'type_id' => $ret['type_id'],
|
||||||
'is_margin' => $ret['is_margin'],
|
'is_margin' => $ret['is_margin'],
|
||||||
'margin' => $ret['margin'],
|
'margin' => $ret['recharge_margin'],
|
||||||
];
|
];
|
||||||
$param = [
|
$param = [
|
||||||
'status' => 0,
|
'status' => 0,
|
||||||
@ -109,7 +109,7 @@ class ServeOrderRepository extends BaseRepository
|
|||||||
'pay_type' => $data['pay_type'],
|
'pay_type' => $data['pay_type'],
|
||||||
'attach' => 'meal',
|
'attach' => 'meal',
|
||||||
'order_info' => json_encode($arr,JSON_UNESCAPED_UNICODE),
|
'order_info' => json_encode($arr,JSON_UNESCAPED_UNICODE),
|
||||||
'pay_price' => $ret['margin'],
|
'pay_price' => $ret['recharge_margin'],
|
||||||
];
|
];
|
||||||
|
|
||||||
return compact('key', 'param');
|
return compact('key', 'param');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user