Преглед изворни кода

修复账号被禁用提醒问题

liaofei пре 2 година
родитељ
комит
fe483bc6c1
1 измењених фајлова са 1 додато и 1 уклоњено
  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();
     }
 
     /**