mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -36,9 +36,9 @@ class UserController extends Controller | |||||||
|         ]); |         ]); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     public function id2UserInfo($id) |     public function getUserInfoById(Request $request) | ||||||
|     { |     { | ||||||
|         if (empty($id)) { |         if (empty($request->input('id'))) { | ||||||
|             abort(500, '参数错误'); |             abort(500, '参数错误'); | ||||||
|         } |         } | ||||||
|         return response([ |         return response([ | ||||||
| @@ -48,7 +48,7 @@ class UserController extends Controller | |||||||
|                 'd', |                 'd', | ||||||
|                 'transfer_enable', |                 'transfer_enable', | ||||||
|                 'expired_at' |                 'expired_at' | ||||||
|             ])->find($id) |             ])->find($request->input('id')) | ||||||
|         ]); |         ]); | ||||||
|     } |     } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user