|
@@ -153,9 +153,10 @@ func (s *Short) Article(stype, id string) error {
|
|
|
//userId, _ = s.GetSession("userId").(string)
|
|
|
sess = s.Session().GetMultiple()
|
|
|
userId, _ = sess["userId"].(string)
|
|
|
+ tag := util.ObjToString(sess["wxpush"])
|
|
|
//新关注微信公众号用户是否绑定手机号
|
|
|
phone, ok := sess["phone"].(string)
|
|
|
- if ok && phone == "" {
|
|
|
+ if ok && phone == "" && tag != "bind" {
|
|
|
//注册时间
|
|
|
regTime := util.Int64All(s.GetSession("registedate"))
|
|
|
//新用户时间
|
|
@@ -169,6 +170,7 @@ func (s *Short) Article(stype, id string) error {
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
} else if !bm { //未关注用户 pc端到关注页面
|
|
|
log.Println("PC微信端浏览器 未关注用户 访问地址----")
|
|
|
s.Request.Header.Del("Referer")
|