xiaogang 3 yıl önce
ebeveyn
işleme
3974cf6629
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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('请刷新后重试');