소스 검색

feat:异常处理

wangchuanjin 2 년 전
부모
커밋
e74f3d5bea
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pushentniche/match/job/matchjob.go

+ 1 - 1
pushentniche/match/job/matchjob.go

@@ -188,7 +188,6 @@ func (m *MatchJob) LoadMySubSet(allSubSet *PayUser, title_pjob, detail_pjob *Key
 				user.Entniche.DeptId = EntTopDept[entId]
 			}
 		}
-		logger.Info("加载我的订阅设置", "entId", entId, "entName", entName, "userId", userId, "wxPush", user.PushSet.SubSet.WxPush, "appPush", user.PushSet.SubSet.AppPush, "mailPush", user.PushSet.SubSet.MailPush, "rateMode", user.PushSet.SubSet.RateMode, "matchWay", user.SubSet.MatchWay)
 		if userId != 0 { //个人订阅
 			if MgoEntUsers[userId] != nil {
 				user.PushSet = MgoEntUsers[userId].PushSet
@@ -279,6 +278,7 @@ func (m *MatchJob) LoadMySubSet(allSubSet *PayUser, title_pjob, detail_pjob *Key
 				allSubSet.Users[child_user] = true
 			}
 		}
+		logger.Info("加载我的订阅设置", "entId", entId, "entName", entName, "userId", userId, "wxPush", user.PushSet.SubSet.WxPush, "appPush", user.PushSet.SubSet.AppPush, "mailPush", user.PushSet.SubSet.MailPush, "rateMode", user.PushSet.SubSet.RateMode, "matchWay", user.SubSet.MatchWay)
 		temp = make(map[string]interface{})
 	}
 }