xiaogang 4 anos atrás
pai
commit
521efbe74c

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

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

+ 0 - 1
app/Services/DynamicService.php

xqd
@@ -267,7 +267,6 @@ class DynamicService
             }
             $dynamic['data'][$k]['is_zan'] = $is_zan;
         }
-        var_dump($dynamic);die;
         return $dynamic;
     }