diff --git a/server/resource/template/te/api.go.tpl b/server/resource/template/te/api.go.tpl index ce68ad68f4f3654a726a5431fc89b85401e34338..325d4d6698fa2083d591704a395667c68f9b4943 100644 --- a/server/resource/template/te/api.go.tpl +++ b/server/resource/template/te/api.go.tpl @@ -66,7 +66,7 @@ func Update{{.StructName}}(c *gin.Context) { if err != nil { response.FailWithMessage(fmt.Sprintf("更新失败,%v", err), c) } else { - response.OkWithMessage("删除成功", c) + response.OkWithMessage("更新成功", c) } }