xiaogang há 4 anos atrás
pai
commit
223e96a80b
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      app/Http/Controllers/Api/DynamicController.php

+ 1 - 1
app/Http/Controllers/Api/DynamicController.php

xqd
@@ -129,7 +129,7 @@ class DynamicController extends Controller
             $list = $this->dynamicService->dynamic_list($where);
         }catch (\Exception $exception){
 
-            return $this->response->errorForbidden($exception);
+            return $this->response->errorForbidden($exception->getMessage());
         }
         return response()->json($list);
     }