mirror of
https://github.com/cool-team-official/cool-admin-midway.git
synced 2025-12-13 10:32:49 +00:00
fix
This commit is contained in:
parent
770a1cc916
commit
d6625792af
@ -51,10 +51,10 @@ export class BaseTranslateMiddleware
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ctx.status = 500;
|
ctx.status = 200;
|
||||||
ctx.body = {
|
ctx.body = {
|
||||||
code: RESCODE.COMMFAIL,
|
code: RESCODE.COMMFAIL,
|
||||||
message: 'Service Error',
|
message: error.message,
|
||||||
};
|
};
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user