|
|
@@ -286,7 +286,7 @@ class RefundOrder extends BaseController
|
|
286
|
286
|
} else if ($array_fzone_paytype['type'] == 'c1') {
|
|
287
|
287
|
// {"checked":true,"note":"复购金","other":1.5,"price":8.5,"total":0.0,"type":"c1","vr":"48799.82"}
|
|
288
|
288
|
$vrpri = Db::name("user")->where("uid", $group_order_map['uid'])->value('fugou');
|
|
289
|
|
- $vrpri += $array_fzone_paytype['other'];
|
|
|
289
|
+ $vrpri += $array_fzone_paytype['price'];
|
|
290
|
290
|
Db::name("user")->where("uid", $group_order_map['uid'])->update(['fugou' => $vrpri]);
|
|
291
|
291
|
//支出账号存到log日志
|
|
292
|
292
|
$log_data = [
|
|
|
@@ -297,7 +297,7 @@ class RefundOrder extends BaseController
|
|
297
|
297
|
'order_id' => $store_order_info['order_id'],
|
|
298
|
298
|
'surplus' => $vrpri,
|
|
299
|
299
|
'order_type' => 0,
|
|
300
|
|
- 'type' => 2,
|
|
|
300
|
+ 'type' => 1,
|
|
301
|
301
|
'addtime' => time()
|
|
302
|
302
|
];
|
|
303
|
303
|
Db::name("user_sign_fugou")->insert($log_data);
|