更新分组密码
This commit is contained in:
1 parent
dfd308873a
commit
26e42dd2a4
14 files changed
+308
-14
No files matched your search
@@ -106,6 +106,8 @@ class OrderService
|
||||
$goods = $this->goodsService->detail($request->input('gid'));
|
||||
// 商品状态验证
|
||||
$this->goodsService->validatorGoodsStatus($goods);
|
||||
// 商品所属分类访问权限验证
|
||||
$this->goodsService->validatorGoodsGroupAccess($goods);
|
||||
// 如果有限购
|
||||
if ($goods->buy_limit_num > 0 && $request->input('by_amount') > $goods->buy_limit_num) {
|
||||
throw new RuleValidationException(__('dujiaoka.prompt.purchase_limit_exceeded'));
|
||||
|
||||
Reference in new issue
Block a user