...
|
...
|
@@ -153,7 +153,7 @@ class Order extends Model |
|
|
]);
|
|
|
// 用掉优惠券
|
|
|
if($order['coupon']['user_coupon_id'] > 0){
|
|
|
UserCoupon::where('id',$order['user_coupon_id'])->setField('status','2');
|
|
|
UserCoupon::where('id',$order['coupon']['user_coupon_id'])->setField('status','2');
|
|
|
}
|
|
|
// 用掉积分
|
|
|
if($order['score']['score'] > 0){
|
...
|
...
|
|