@@ -373,6 +373,9 @@ class AuthController extends PublicController
}
$adminId = $admin['id'];
$shopAdmin = ShopAdminService::getByCondition(['adminId' => $adminId, 'delStatus' => 0], true);
+ if (empty($shopAdmin)) {
+ util::fail('没有员工信息');
+ }
if ($shopAdmin->status == 0) {
util::fail("您的账号还未激活");