diff --git a/api/controller_front/task.js b/api/controller_front/task.js index 24d64bf..c70b73a 100644 --- a/api/controller_front/task.js +++ b/api/controller_front/task.js @@ -64,7 +64,7 @@ module.exports = { * description: 开始时间 */ 'GET /task/current': async (ctx) => { - try { { + try { const { sn_code } = ctx.query || {}; if (!sn_code) {