|
|
@@ -600,7 +600,10 @@ class ProductController extends BaseController
|
|
|
$join = $shop->join ?? 0;
|
|
|
$default = $shop->default ?? 0;
|
|
|
if ($join == 0 && $default == 0) {
|
|
|
- util::fail('直营分店不能改价');
|
|
|
+ //除了小蔡鲜花的蔡总、郑总,其他人直营分店不能改价格
|
|
|
+ if(!in_array($this->adminId,[35725,23659])){
|
|
|
+ util::fail('直营分店不能改价');
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
$shopAdmin = $this->shopAdmin;
|