用户登录验证码与用户密码修改
This commit is contained in:
1 parent
2740a308a2
commit
e64e33cf0a
13 files changed
+213
-52
No files matched your search
@@ -30,8 +30,10 @@ class Index extends Base
|
||||
->field('title,keywords,description')
|
||||
->find();
|
||||
|
||||
// 实例化管理员数据模型
|
||||
$admin = new \app\admin\model\Admin;
|
||||
// 获取管理员信息
|
||||
$userinfo = db('admin')
|
||||
$userinfo = $admin
|
||||
->where('username',session('username'))
|
||||
->field('username,id')
|
||||
->find();
|
||||
@@ -82,5 +84,7 @@ class Index extends Base
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user