|
@@ -405,7 +405,7 @@ class PurchaseOrderController extends BaseController
|
|
|
if (getenv('YII_ENV') == 'production') {
|
|
if (getenv('YII_ENV') == 'production') {
|
|
|
//小向花卉采购控制
|
|
//小向花卉采购控制
|
|
|
if ($this->mainId == 23390) {
|
|
if ($this->mainId == 23390) {
|
|
|
- if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004, 24655, 28521])) {
|
|
|
|
|
|
|
+ if (!in_array($this->adminId, [24586, 24115, 24759, 26390, 23960, 25011, 25004, 24655, 28521,4])) {
|
|
|
util::fail('你不能采购哦');
|
|
util::fail('你不能采购哦');
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|