Browse Source

修复账号被禁用提醒问题

liaofei 2 năm trước cách đây
mục cha
commit
fe483bc6c1

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

@@ -47,7 +47,7 @@ class SystemAdminDao extends BaseDao
      */
      */
     public function accountByAdmin(string $account)
     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();
     }
     }
 
 
     /**
     /**