|
@@ -34,7 +34,7 @@ func (w *WX) Index(pageLabel string) error {
|
|
|
if userId, _ := w.GetSession("userId").(string); userId == "" {
|
|
|
jy.SetCookieValue(w.ResponseWriter, jy.ChannelCookieName, pageLabel, cacheTimeOut)
|
|
|
redis.Put("limitation", fmt.Sprintf("firstVisitTagByWX_%s", w.Session().Id()), pageLabel, cacheTimeOut) //app 登录注册 用户标识
|
|
|
- return w.Redirect("/jyapp/jylab/mainSearch?from=wx")
|
|
|
+ return w.Redirect("/jyapp/jylab/mainSearch?partner=" + pageLabel)
|
|
|
}
|
|
|
//已登录
|
|
|
return w.Redirect("/jy_mobile/tabbar/home?from=wx")
|