diff --git a/pkg/apistruct/manage.go b/pkg/apistruct/manage.go index 52a93ddc1..7d30d2151 100644 --- a/pkg/apistruct/manage.go +++ b/pkg/apistruct/manage.go @@ -24,7 +24,7 @@ type SendMsg struct { SenderNickname string `json:"senderNickname"` SenderFaceURL string `json:"senderFaceURL"` SenderPlatformID int32 `json:"senderPlatformID"` - Content map[string]interface{} `json:"content" binding:"required" swaggerignore:"true"` + Content map[string]interface{} `json:"content" binding:"required" swaggerignore:"true"` ContentType int32 `json:"contentType" binding:"required"` SessionType int32 `json:"sessionType" binding:"required"` IsOnlineOnly bool `json:"isOnlineOnly"`