Преглед изворни кода

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

lichangdong пре 8 часа
родитељ
комит
91b9d96b0a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      internal/service/MessageHandlers/wecom/customer_push_notice.go

+ 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