From 5875e71c7f9b3098f964f33d41570ef0e389f5e4 Mon Sep 17 00:00:00 2001 From: engigu Date: Sun, 14 Jan 2024 17:07:50 +0800 Subject: [PATCH] feat: support ins pause and enable --- routers/api/v1/send_ins.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/routers/api/v1/send_ins.go b/routers/api/v1/send_ins.go index 6d59637..8009471 100644 --- a/routers/api/v1/send_ins.go +++ b/routers/api/v1/send_ins.go @@ -204,9 +204,9 @@ func UpdateMsgTaskInsEnable(c *gin.Context) { "enable": req.Enable, }) if err != nil { - appG.CResponse(http.StatusBadRequest, "删除实例失败!", nil) + appG.CResponse(http.StatusBadRequest, "更新实例失败!", nil) return } - appG.CResponse(http.StatusOK, "删除实例成功!", nil) + appG.CResponse(http.StatusOK, "更新实例成功!", nil) }