|
|
@@ -28,8 +28,8 @@ class VideoController extends webApp
|
|
|
$datas = VideoService::make()->getIndexList($params, $pageSize,'', $this->userId);
|
|
|
return showJson(1010, true, $datas);
|
|
|
} catch (\Exception $exception){
|
|
|
- RedisService::set("caches:request:error_video_index", ['error'=>$exception->getshowJson(),'trace'=>$exception->getTrace()], 7200);
|
|
|
- return showJson(1018, false, ['error'=>env('APP_DEBUG')? $exception->getshowJson() : '']);
|
|
|
+ RedisService::set("caches:request:error_video_index", ['error'=>$exception->getMessage(),'trace'=>$exception->getTrace()], 7200);
|
|
|
+ return showJson(1018, false, ['error'=>env('APP_DEBUG')? $exception->getMessage() : '']);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
@@ -63,7 +63,7 @@ class VideoController extends webApp
|
|
|
|
|
|
return showJson(1010, true, $datas);
|
|
|
} catch (\Exception $exception){
|
|
|
- RedisService::set("caches:request:error_video_list", ['error'=>$exception->getshowJson(),'trace'=>$exception->getTrace()], 7200);
|
|
|
+ RedisService::set("caches:request:error_video_list", ['error'=>$exception->getMessage(),'trace'=>$exception->getTrace()], 7200);
|
|
|
return showJson(1018, false, ['error'=>env('APP_DEBUG')? $exception->getTrace() : '']);
|
|
|
}
|
|
|
}
|