1
This commit is contained in:
@@ -199,9 +199,12 @@ func ReadMsgFromVendor(vendorID int, elmAppID string, msg []byte) error {
|
||||
if vendorID == VendorIDMT {
|
||||
var PushContentReq = mtwmapi.PushContentReq{}
|
||||
err = json.Unmarshal(msg, &PushContentReq)
|
||||
if FilterIm(PushContentReq.AppID, PushContentReq.MsgContent) { //自动回复消息过滤
|
||||
return nil
|
||||
if len(PushContentReq.MsgContent) != 0 || PushContentReq.MsgContent != "" {
|
||||
if FilterIm(PushContentReq.AppID, PushContentReq.MsgContent) { //自动回复消息过滤
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
jxMsg = &JXMsg{
|
||||
SendType: SendTypeMt,
|
||||
MsgContent: PushContentReq,
|
||||
|
||||
Reference in New Issue
Block a user