Authored by yyq

status code

@@ -224,7 +224,7 @@ exports.serverError = () => { @@ -224,7 +224,7 @@ exports.serverError = () => {
224 } else if (err.code === 9999991 || err.code === 9999992) { 224 } else if (err.code === 9999991 || err.code === 9999992) {
225 return _err510(req, res, 510, err); 225 return _err510(req, res, 510, err);
226 } else if (+err.statusCode === 503) { 226 } else if (+err.statusCode === 503) {
227 - return _err503(req, res, 510, err); 227 + return _err503(req, res, 503, err);
228 } 228 }
229 229
230 if (!res.headersSent) { 230 if (!res.headersSent) {