fix: api send msg update. (#1163)

release-v3.3
Gordon 12 months ago committed by GitHub
parent 2bba4d01c4
commit cd5a506419
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -58,7 +58,7 @@ func (m MessageApi) newUserSendMsgReq(c *gin.Context, params *apistruct.SendMsg)
options := make(map[string]bool, 5)
switch params.ContentType {
case constant.Text:
newContent = params.Content["text"].(string)
fallthrough
case constant.Picture:
fallthrough
case constant.Custom:

Loading…
Cancel
Save