Browse Source

fix user relation

abiao 5 years ago
parent
commit
51b34a2b6e

+ 0 - 4
go/gopath/src/fohow.com/apps/controllers/cron_controller/init.go

@@ -73,10 +73,6 @@ func exec(name string) {
 		updateUserNicknameAndHead()
 	case "udpate_sold_count": //更新已售数量
 		updateSoldCount()
-	case "comb_user_relation": //梳理内部推荐关系
-		//combUserRelation()
-	case "comb_three_user_rank": //更新排名
-		//threebUserRank()
 	case "comb_three_user": //更新内部关系
 		threebUserRelation()
 	case "register_wxuser": //修复数据--注册会员

+ 2 - 0
go/gopath/src/fohow.com/apps/controllers/cron_controller/three_user_relation.go

@@ -38,6 +38,8 @@ func threebUserRelation() {
 	if departOneWxU != nil && departTwoWxU != nil {
 		user_model.UpdateRelatedDepart(departOneWxU.IntroInnerNo, departTwoWxU.IntroInnerNo, departOneWxU.Depart, departTwoWxU.Depart)
 	}
+	beego.BeeLogger.Warn("----------------end handle threebUserRelation ")
+
 	//time.Sleep(time.Duration(300) * time.Second)
 }