shish il y a 1 an
Parent
commit
ffbe2c2e84
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app-ghs/controllers/CustomController.php

+ 1 - 1
app-ghs/controllers/CustomController.php

@@ -94,7 +94,7 @@ class CustomController extends BaseController
         if (getenv('YII_ENV') == 'production') {
             //小向花卉
             if (in_array($this->shopId, [23580, 24713])) {
-                if (!in_array($this->adminId, [24043, 23960])) {
+                if (!in_array($this->adminId, [24043, 23960, 4])) {
                     util::fail('不能销单哦!!');
                 }
             }