Przeglądaj źródła

修复账号被禁用提醒问题

liaofei 2 lat temu
rodzic
commit
fe483bc6c1
1 zmienionych plików z 1 dodań i 1 usunięć
  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();
     }
 
     /**