소스 검색

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

lichangdong 11 시간 전
부모
커밋
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