Explorar o código

修复账号被禁用提醒问题

liaofei %!s(int64=2) %!d(string=hai) anos
pai
achega
fe483bc6c1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      crmeb/app/dao/system/admin/SystemAdminDao.php

+ 1 - 1
crmeb/app/dao/system/admin/SystemAdminDao.php

@@ -47,7 +47,7 @@ class SystemAdminDao extends BaseDao
      */
     public function accountByAdmin(string $account)
     {
-        return $this->search(['account' => $account, 'is_del' => 0, 'status' => 1])->find();
+        return $this->search(['account' => $account, 'is_del' => 0])->find();
     }
 
     /**