update: coupon generate

This commit is contained in:
Tokumeikoi
2020-10-24 23:08:14 +08:00
parent 4ca1b9e8ff
commit 1a94a48cf4
12 changed files with 157 additions and 23 deletions

View File

@ -113,6 +113,7 @@ class OrderController extends Controller
DB::rollBack();
abort(500, '优惠券使用失败');
}
$order->coupon_id = $couponService->getId();
}
$orderService->setVipDiscount($user);