Browse Source

调试,bug

lichangdong 1 week ago
parent
commit
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().
 			Exec(ctx)
 		if err != nil {
-			//logx.Error("labelLog 批量插入失败", bulkCreates)
+			logx.Error("labelLog 批量插入失败", bulkCreates)
 			//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),
 			).Only(ctx)
 			if err != nil || ent.IsNotFound(err) {
-				logx.Error("label_relation.create.fail: ", wxInfo.OrganizationID)
+				logx.Error("label not found.fail: ", wxInfo.OrganizationID)
 				continue
 			}
 			//生成批量的关系数据 待插入