1、内核更新

2、模板管理优化
This commit is contained in:
2016-12-04 16:15:43 +08:00
parent e2910d287a
commit e28383f667
10 changed files with 371 additions and 78 deletions

View File

@@ -107,7 +107,7 @@ class User extends Base{
return 0; //参数错误
}
$user = $this->db()->where($map)->find()->toArray();
$user = $this->where($map)->find();
if(is_array($user) && $user['status']){
/* 验证用户密码 */
if(md5($password.$user['salt']) === $user['password']){