Explorar el Código

没有员工信息

shish hace 5 años
padre
commit
d4e9528fa8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)) {
         if (!empty($shopId)) {
             $shopAdmin = ShopAdminClass::getByCondition(['shopId' => $shopId, 'adminId' => $adminId], true);
             $shopAdmin = ShopAdminClass::getByCondition(['shopId' => $shopId, 'adminId' => $adminId], true);
             if (empty($shopAdmin)) {
             if (empty($shopAdmin)) {
-                util::fail('没有员工信息哦');
+                util::fail("没有员工信息哦(adminId:{$adminId})");
             }
             }
             $shopAdmin->lastLogin = date("Y-m-d H:i:s");
             $shopAdmin->lastLogin = date("Y-m-d H:i:s");
             $shopAdmin->save();
             $shopAdmin->save();