This commit is contained in:
COOL 2025-04-21 15:51:05 +08:00
parent 770a1cc916
commit d6625792af

View File

@ -51,10 +51,10 @@ export class BaseTranslateMiddleware
return;
}
}
ctx.status = 500;
ctx.status = 200;
ctx.body = {
code: RESCODE.COMMFAIL,
message: 'Service Error',
message: error.message,
};
return;
}