Browse Source

(*)err定义修改

master
ww664853070 2 years ago
parent
commit
d854b8d782
  1. 2
      api/app/lib/controllers/employeeAssessment/index.js

2
api/app/lib/controllers/employeeAssessment/index.js

@ -33,7 +33,7 @@ async function getemployeeAssessmentList(ctx) {
ctx.status = 200;
ctx.body = rlst;
} catch (err) {
ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`);
ctx.fs.logger.error(`path: ${ctx.path}, error: ${err}`);
ctx.status = 400;
ctx.body = { message: err.message || '查询列表失败' }
}

Loading…
Cancel
Save