From 6ba6d1e7b640b3192cb04a0dc780570a49b92169 Mon Sep 17 00:00:00 2001 From: LUCAS Date: Wed, 31 Aug 2022 09:09:46 +0800 Subject: [PATCH] =?UTF-8?q?=E9=94=99=E8=AF=AF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/lib/controllers/roadMaintenance/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/lib/controllers/roadMaintenance/index.js b/api/app/lib/controllers/roadMaintenance/index.js index 91d99cd4..dc2c4f48 100644 --- a/api/app/lib/controllers/roadMaintenance/index.js +++ b/api/app/lib/controllers/roadMaintenance/index.js @@ -128,7 +128,7 @@ async function updateRoadMaintenanceList(ctx) { await models.RoadMaintenance.update(data, { where: { id: data.id } }) ctx.status = 200; - ctx.body = {message}; + ctx.body = {message:'编辑成功'}; } catch (error) { ctx.fs.logger.error(`path: ${ctx.path}, error: ${error}`); ctx.status = 400;