mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-07 12:38:11 +08:00
fix: 修复用户编号时的异常,不指令类型
This commit is contained in:
parent
eacfd5c089
commit
6dc286a945
@ -96,7 +96,8 @@ class Admin extends Controller
|
||||
protected function _edit_form_filter(array $data)
|
||||
{
|
||||
if ($this->request->isPost()) {
|
||||
$account = Account::mk(Account::WEB, ['unid' => $data['unid']]);
|
||||
$account = Account::mk('', ['unid' => $data['unid']]);
|
||||
|
||||
// 更新当前用户代理线,同时更新账号的 user 数据
|
||||
$account->bind(['id' => $data['unid']], $data['user'] ?? []);
|
||||
// 修改用户登录密码
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user