Selaa lähdekoodia

Merge branch 'feature/531-bowen-wecom' into debug

lichangdong 11 tuntia sitten
vanhempi
commit
91b9d96b0a

+ 1 - 1
internal/service/MessageHandlers/wecom/customer_push_notice.go

@@ -56,7 +56,7 @@ func (f *CustomerPushNoticeHandler) Handle(ctx context.Context, msg *wechat_ws.M
 		//Wxid := strconv.FormatInt(friend.RemoteId, 10)
 
 		friendType := 1
-		if friend.Source == 2 {
+		if friend.Suffix == "微信" {
 			friendType = 1
 		} else {
 			friendType = 4