| xqd
@@ -92,10 +92,10 @@ class HomeController extends Controller
|
|
|
public function user_detail(Request $request){
|
|
|
try {
|
|
|
$res = $this->homeService->user_detail($request->user_id);
|
|
|
- }catch (\Exception $exception){
|
|
|
- return $this->response->errorForbidden($exception->getMessage());
|
|
|
}catch (AuthException $exception){
|
|
|
return $this->response->errorUnauthorized($exception->getMessage());
|
|
|
+ }catch (\Exception $exception){
|
|
|
+ return $this->response->errorForbidden($exception->getMessage());
|
|
|
}
|
|
|
return response()->json($res);
|
|
|
}
|