Commit 8f745211 authored by hangjun83's avatar hangjun83

openapi 震坤行

parent f214236e
......@@ -61,7 +61,7 @@ class ZhenkhController extends Controller
if($result){
return Response::success($result, '操作成功');
}else{
return Response::fail('获取pdf失败,无法找到相应的pdf文件', 500);
return Response::success([],'获取pdf失败,无法找到相应的pdf文件' );
}
}catch(\Exception $exception){
return Response::fail($exception->getMessage(),500);
......@@ -81,7 +81,6 @@ class ZhenkhController extends Controller
if($result){
return Response::success(null, '操作成功');
}
return Response::fail('操作失败',500);
}catch(\Exception $exception){
return Response::fail($exception->getMessage(),500);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment