|
|
@@ -143,7 +143,7 @@ class CustomController extends BaseController
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- //多个地方需要同步修改clear_order_power
|
|
|
+ //多个地方需要同步修改 clear_order_power
|
|
|
if (getenv('YII_ENV') == 'production') {
|
|
|
//小向花卉
|
|
|
if (in_array($this->shopId, [23580, 24713])) {
|
|
|
@@ -229,6 +229,12 @@ class CustomController extends BaseController
|
|
|
util::fail('您不能充值销单哦,编号956');
|
|
|
}
|
|
|
}
|
|
|
+ //泉城花卉批发,只有指定人才能结账
|
|
|
+ if (in_array($this->shopId, [447])) {
|
|
|
+ if (!in_array($this->adminId, [1398,2448,2457,2499,82260])) {
|
|
|
+ util::fail('不能充值销账,请联系小娟');
|
|
|
+ }
|
|
|
+ }
|
|
|
} else {
|
|
|
if (in_array($this->shopId, [36523])) {
|
|
|
if ($this->adminId != 919) {
|