diff --git a/app/admin/logic/user/UserLogic.php b/app/admin/logic/user/UserLogic.php index b2ea61db..e825dbe3 100644 --- a/app/admin/logic/user/UserLogic.php +++ b/app/admin/logic/user/UserLogic.php @@ -118,14 +118,15 @@ class UserLogic extends BaseLogic Db::startTrans(); try { User::where('id', $params['id'])->update([ - 'avatar' => $params['avatar'] ?? '', - 'real_name' => $params['real_name'], - 'nickname' => $params['nickname'], - 'account' => $params['account'], - 'password' => $params['password'] ?? '', - 'mobile' => $params['mobile'] ?? '', - 'sex' => $params['sex'] ?? 0, - 'is_disable' => $params['is_disable'] ?? 0, + // 'avatar' => $params['avatar'] ?? '', + // 'real_name' => $params['real_name'], + // 'nickname' => $params['nickname'], + // 'account' => $params['account'], + // 'password' => $params['password'] ?? '', + // 'mobile' => $params['mobile'] ?? '', + // 'sex' => $params['sex'] ?? 0, + // 'is_disable' => $params['is_disable'] ?? 0, + 'label_id'=>$params['label_id'] ]); Db::commit();