|
@@ -202,7 +202,7 @@ func (s *Short) Article(contentType, stype, id string) error {
|
|
|
if len(ips) > 0 {
|
|
|
ipTrue = config.IpList.Match(ips[0])
|
|
|
}
|
|
|
- log.Printf("三级页userid:%s ips %v", userId, ips)
|
|
|
+ log.Printf("三级页userid:%s, ips %v, ipTrue:%v, refer:%s, url:%s", userId, ips, ipTrue, s.Refer(), s.Url())
|
|
|
if sid != "" {
|
|
|
obj = wxvisitD(sid, userId, (isVip && isOldVip) || isEntniche || isMember)
|
|
|
}
|
|
@@ -426,6 +426,11 @@ func (s *Short) Article(contentType, stype, id string) error {
|
|
|
}
|
|
|
s.T["currentLocation"] = currentLocation
|
|
|
}
|
|
|
+ //中标候选人
|
|
|
+ obj["isCandidate"] = false
|
|
|
+ if obj["winnerorder"] != nil {
|
|
|
+ obj["isCandidate"] = true
|
|
|
+ }
|
|
|
s.T["obj"] = obj
|
|
|
s.T["isIosExam"], s.T["isIosExamPhone"], _, _ = IosExamInfo(s.Action, false, false)
|
|
|
content, err := s.Render4Cache("/weixin/wxinfocontent.html", &s.T)
|