lgy 6 giorni fa
parent
commit
478add1b83

+ 0 - 1
jcjyhr/app/admin/library/Auth.php

@@ -182,7 +182,6 @@ class Auth extends \ba\Auth
             $this->setError('Please try again after 1 day');
             return false;
         }
-        var_dump($this->model->PASSWORD);die;
         if ($this->model->password != encrypt_password($password, $this->model->salt)) {
             $this->loginFailed();
             $this->setError('Password is incorrect');

+ 3 - 1
jcjyhr/vendor/topthink/think-orm/src/db/BaseQuery.php

@@ -1372,7 +1372,9 @@ abstract class BaseQuery
         } else {
             $this->result($result);
         }
-
+        foreach ($result as $key => $value) {
+            $result[strtolower($key)] = $value;
+        }
         return $result;
     }