后台:增加后台数据库表,修复连接问题

This commit is contained in:
luying
2021-11-23 13:34:53 +08:00
parent 7940e6d09d
commit f69ac140fb
14 changed files with 84 additions and 39 deletions

View File

@@ -10,7 +10,7 @@ module.exports = () => {
try{
await next();
} catch(e) {
ctx.service.utils.log('ERROR', `[${ctx.request.url}] [${ctx.logcode}] err: ${e.stack}`);
ctx.service.utils.log('ERROR', `[${ctx.request.url}] [${ctx.logcode}] err: ${(<Error>e).stack}`);
throw e;
}
const resBody = ctx.body;