修改权限表

This commit is contained in:
巴掌 committed 2021-12-28 13:28:04 +08:00
1 parent d1ded5d81c
commit 66213b653b
4 files changed
+7 -10

No files matched your search

+1 -1
View File
@@ -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();