shish пре 4 година
родитељ
комит
dfd7a566e6
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app-ghs/controllers/AuthController.php

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

@@ -505,7 +505,7 @@ class AuthController extends PublicController
         if (empty($shopAdmin)) {
         if (empty($shopAdmin)) {
             util::fail('您没有权限');
             util::fail('您没有权限');
         }
         }
-        if ($shopAdmin->delStatus == 0) {
+        if ($shopAdmin->delStatus == 1) {
             util::fail('您没有权限哦');
             util::fail('您没有权限哦');
         }
         }
         if ($shopAdmin->status == 0) {
         if ($shopAdmin->status == 0) {