浏览代码

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

lichangdong 5 小时之前
父节点
当前提交
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