修改权限表
This commit is contained in:
1 parent
d1ded5d81c
commit
66213b653b
4 files changed
+7
-10
No files matched your search
@@ -67,7 +67,7 @@ class Index extends BaseController
|
||||
{
|
||||
// 获取服务器密码
|
||||
$admin = new \app\admin\model\Admin;
|
||||
$userinfo = $admin::where('username', $list['username'])
|
||||
$userinfo = $admin::where('username|phone', $list['username'])
|
||||
->where('status', 1)
|
||||
->field('id, lastip, username, ip, denglucishu, lasttime, thistime, password')
|
||||
->find();
|
||||
|
||||
Reference in new issue
Block a user