浏览代码

调试,bug

lichangdong 1 周之前
父节点
当前提交
17543cda61

+ 1 - 1
internal/service/MessageHandlers/contact_Label_info_notice.go

@@ -99,7 +99,7 @@ func (f *ContactLabelInfoNotice) Handle(ctx context.Context, msg *wechat_ws.MsgJ
 			DoNothing().
 			DoNothing().
 			Exec(ctx)
 			Exec(ctx)
 		if err != nil {
 		if err != nil {
-			//logx.Error("labelLog 批量插入失败", bulkCreates)
+			logx.Error("labelLog 批量插入失败", bulkCreates)
 			//return err
 			//return err
 		}
 		}
 	}
 	}

+ 1 - 1
internal/service/MessageHandlers/friend_push_notice.go

@@ -158,7 +158,7 @@ func (f *FriendPushNoticeTypeHandler) Handle(ctx context.Context, msg *wechat_ws
 				label.OrganizationID(currentOrgID),
 				label.OrganizationID(currentOrgID),
 			).Only(ctx)
 			).Only(ctx)
 			if err != nil || ent.IsNotFound(err) {
 			if err != nil || ent.IsNotFound(err) {
-				logx.Error("label_relation.create.fail: ", wxInfo.OrganizationID)
+				logx.Error("label not found.fail: ", wxInfo.OrganizationID)
 				continue
 				continue
 			}
 			}
 			//生成批量的关系数据 待插入
 			//生成批量的关系数据 待插入