|
|
@@ -620,6 +620,15 @@ class CustomController extends BaseController
|
|
|
util::fail('超管才能修改');
|
|
|
}
|
|
|
|
|
|
+ //泉城的只有苏小娟才能修改
|
|
|
+ if (getenv('YII_ENV') == 'production') {
|
|
|
+ if ($this->mainId == 60) {
|
|
|
+ if (in_array($this->adminId, [2499]) == false) {
|
|
|
+ util::fail('没有修改成功,请小娟修改');
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
$get = Yii::$app->request->get();
|
|
|
$customId = $get['customId'] ?? 0;
|
|
|
$level = $get['level'] ?? 1;
|