fixed:权限菜单错误&用户修改密码
This commit is contained in:
@@ -194,6 +194,6 @@ class User extends CatchController
|
||||
*/
|
||||
public function profile(ProfileRequest $request)
|
||||
{
|
||||
return CatchResponse::success($this->user->updateBy($request->user()->id, $request->param()));
|
||||
return CatchResponse::success($this->user->updateBy($request->user()->id, $request->filterEmptyField()->param()));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user