diff --git a/server/common/common.go b/server/common/common.go index e231ffe6e88..b81dc5ef1eb 100644 --- a/server/common/common.go +++ b/server/common/common.go @@ -71,14 +71,14 @@ func SuccessResp(c *gin.Context, data ...interface{}) { if len(data) == 0 { c.JSON(200, Resp[interface{}]{ Code: 200, - Message: "success", + Message: "完成", Data: nil, }) return } c.JSON(200, Resp[interface{}]{ Code: 200, - Message: "success", + Message: "完成", Data: data[0], }) }