mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
fix: change the judge condition
This commit is contained in:
parent
76d4b94fa3
commit
3212289d36
@ -411,9 +411,10 @@ func (m *MessageApi) CallbackExample(c *gin.Context) {
|
||||
c.JSON(http.StatusOK, resp)
|
||||
|
||||
robotics := "5078764102"
|
||||
if req.SendID == robotics || req.ContentType != constant.Text || req.ContentType != constant.Picture {
|
||||
if req.SendID == robotics {
|
||||
return
|
||||
}
|
||||
if req.ContentType == constant.Text || req.ContentType == constant.Picture {
|
||||
|
||||
log.ZInfo(c, "QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ", "req", req)
|
||||
log.ZInfo(c, "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", "req.Content", req.Content)
|
||||
@ -537,3 +538,4 @@ func (m *MessageApi) CallbackExample(c *gin.Context) {
|
||||
|
||||
apiresp.GinSuccess(c, res)
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user