|
@@ -35,6 +35,7 @@ func UpdateWxUserLabel(cont context.Context) (err error) {
|
|
|
for _, vUser := range listUser {
|
|
|
if vUser.Mobile != "" {
|
|
|
mobile := vUser.Mobile
|
|
|
+ fmt.Println(vUser.Mobile)
|
|
|
chartMobile += mobile + ","
|
|
|
listChart, _, _ := GetChartCollectionByApi(mobile, 9999, 0)
|
|
|
if len(listChart) > 0 {
|
|
@@ -150,6 +151,7 @@ func UpdateWxUserLabel(cont context.Context) (err error) {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
//修改用户产业关注的产业end
|
|
|
|
|
|
//修改用户的阅读记录
|
|
@@ -248,7 +250,7 @@ func UpdateWxUserLabel(cont context.Context) (err error) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- // 处理用户标签
|
|
|
+ //处理用户标签
|
|
|
for _, vUser := range listUser {
|
|
|
labels, err := models.GetCygxCompanyUserListSplit(strconv.Itoa(vUser.UserId))
|
|
|
if err != nil {
|
|
@@ -455,7 +457,7 @@ func UpdateWxUserLabel(cont context.Context) (err error) {
|
|
|
|
|
|
itemInteraction := new(models.CygxUserInteractionNum)
|
|
|
itemInteraction.UserId = int(vsplit.UserId)
|
|
|
- itemInteraction.ArticleCountNum = vsplit.HistoryNum
|
|
|
+ itemInteraction.ArticleHistoryNum = vsplit.HistoryNum
|
|
|
itemInteraction.ArticleCountNum = vsplit.CountNum
|
|
|
itemInteraction.ChartCountNum = vsplit.ChartCountNum
|
|
|
itemInteraction.IndustryFllowNum = vsplit.IndustryFllowNum
|