mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-10 16:12:50 +00:00
fix
This commit is contained in:
parent
770a1cc916
commit
d6625792af
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user