取消商户分类
This commit is contained in:
parent
cd6ed62f4d
commit
6431a3e8dc
@ -2243,8 +2243,8 @@ class ProductRepository extends BaseRepository
|
||||
throw new ValidateException('品牌不存在');
|
||||
if (!$this->CatExists($data['cate_id']))
|
||||
throw new ValidateException('平台分类不存在');
|
||||
if (isset($data['mer_cate_id']) && !$this->merCatExists($data['mer_cate_id'], $merId))
|
||||
throw new ValidateException('不存在的商户分类');
|
||||
// if (isset($data['mer_cate_id']) && !$this->merCatExists($data['mer_cate_id'], $merId))
|
||||
// throw new ValidateException('不存在的商户分类');
|
||||
if ($data['delivery_way'] == 2 && !$this->merShippingExists($merId, $data['temp_id']))
|
||||
throw new ValidateException('运费模板不存在');
|
||||
if (isset($data['type']) && $data['type'] && $data['extend']) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user