|
@@ -77,7 +77,7 @@ func (l *SensitiveMethodLogic) SensitiveMethod(in *common.SensitiveRequest) (*co
|
|
|
if isAttach {
|
|
|
upData["sensitive_attach"] = mc.MapToJson(sensitiveAttach)
|
|
|
}
|
|
|
- if in.AttachTxt != "" {
|
|
|
+ if in.AttachTxt != "" && in.MsgType != "3" {
|
|
|
upData["discern_attach"] = in.AttachTxt
|
|
|
}
|
|
|
log.Println("敏感词回调参数in:", in)
|