Przeglądaj źródła

没有员工信息

shish 5 lat temu
rodzic
commit
d4e9528fa8
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app-hd/controllers/AuthController.php

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

@@ -217,7 +217,7 @@ class AuthController extends PublicController
         if (!empty($shopId)) {
             $shopAdmin = ShopAdminClass::getByCondition(['shopId' => $shopId, 'adminId' => $adminId], true);
             if (empty($shopAdmin)) {
-                util::fail('没有员工信息哦');
+                util::fail("没有员工信息哦(adminId:{$adminId})");
             }
             $shopAdmin->lastLogin = date("Y-m-d H:i:s");
             $shopAdmin->save();