|
@@ -69,7 +69,7 @@ func (p *Pjob) EachInfoForView(mopenid, words string) map[string]interface{} {
|
|
|
words: &ss,
|
|
|
}
|
|
|
} else {
|
|
|
- *p.Cache = push.InitCache(p.Stype, mopenid)
|
|
|
+ *p.Cache = push.InitCache(p.Stype, mopenid,true)
|
|
|
}
|
|
|
p.CreateUserInterestWord()
|
|
|
session := mongodb.GetMgoConn()
|
|
@@ -171,7 +171,7 @@ func (p *Pjob) EachInfoForView(mopenid, words string) map[string]interface{} {
|
|
|
func (p *Pjob) DoPush(mopenid, stime string, opr int, ltime int64) bool {
|
|
|
log.Println("开始执行任务:", p.StypeName, stime)
|
|
|
p.Cache = new(map[string]*[]*push.MemberInterest)
|
|
|
- *p.Cache = push.InitCache(p.Stype, mopenid)
|
|
|
+ *p.Cache = push.InitCache(p.Stype, mopenid,false)
|
|
|
p.CreateUserInterestWord()
|
|
|
return EachAllBidInfo(p.Stype, "["+p.StypeName+"信息]", p.StypeName, ltime, p.MaxPushSize, p.Dfa, p.Cache, opr)
|
|
|
}
|