mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
ComposerUpdate
This commit is contained in:
parent
614aaf133c
commit
72c6e5b8fd
@ -65,7 +65,7 @@ class Index extends Controller
|
|||||||
if (AdminService::instance()->getUserId() === intval($id)) {
|
if (AdminService::instance()->getUserId() === intval($id)) {
|
||||||
$this->_form('SystemUser', 'admin@user/form', 'id', [], ['id' => $id]);
|
$this->_form('SystemUser', 'admin@user/form', 'id', [], ['id' => $id]);
|
||||||
} else {
|
} else {
|
||||||
$this->error('只能修改登录用户的资料!');
|
$this->error('只能修改自己的资料!');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user