| 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);
|
|
|
}
|