...
|
...
|
@@ -276,7 +276,7 @@ class Order extends Api |
|
|
Db::name('user')->where('id', $UserId)->update(['num' => $UserNum['num'] - floor($OrderInfo['total']) + $OrderInfo['water_num']]);
|
|
|
}else{
|
|
|
//消耗积分归还
|
|
|
Db::name('user')->where('id', $UserId)->update(['num' => $UserNum['num'] +$OrderInfo['water']]);
|
|
|
Db::name('user')->where('id', $UserId)->update(['num' => $UserNum['num'] +$OrderInfo['water_num']]);
|
|
|
}
|
|
|
//优惠券归还
|
|
|
if ($OrderInfo['tick_id'] != 0) {
|
...
|
...
|
|