|
|
@ -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 || '查询列表失败' } |
|
|
|
} |
|
|
|