xiaogang 3 年之前
父节点
当前提交
3974cf6629
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Admin/Actions/Users/UsersInfo.php

+ 1 - 1
app/Admin/Actions/Users/UsersInfo.php

xqd
@@ -19,7 +19,7 @@ class UsersInfo extends Form implements LazyRenderable
 
     public function handle(array $input)
     {
-        $user = User::query()->find($input['id']);
+        $user = User::query()->where('id',$input['id'])->first();
         if(!$user){
 
             return $this->response()->error('请刷新后重试');