Commit 0afcdebf authored by hangjun83's avatar hangjun83

财务开票模块更新

parent 67c1b345
......@@ -78,7 +78,7 @@ abstract class Controller extends BaseController
protected function returnErrorExecptionResponse(\Exception $exception, string $message = '')
{
if($exception->getCode() == 500){
if($exception->getCode() == 500 || $exception->getCode() == 502){
return Response::fail($exception->getMessage(),200);
}
return Response::fail($message == '' ? $exception->getMessage() : $message,200);
......
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