|
@@ -1028,10 +1028,13 @@ func (this *Follow) FollowGift(shareid string) error {
|
|
|
this.T["share_nickname"] = nickname
|
|
|
this.T["share_headImg"] = headImg
|
|
|
this.T["openid"] = se.EncodeString(openid)
|
|
|
- this.T["signature"] = wx.SignJSSDK(this.Site() + this.Url())
|
|
|
this.T["share_qr"] = qrstr
|
|
|
- this.T["isWeixin"] = public.CheckWxBrowser(this.Request)
|
|
|
- return this.Render("/frontRouter/wx/share/share-f.html", &this.T)
|
|
|
+ mynickname, _ := this.Session().Get("s_nickname").(string)
|
|
|
+ myavatar, _ := this.Session().Get("s_avatar").(string)
|
|
|
+ this.T["nickname"] = mynickname
|
|
|
+ this.T["avatar"] = myavatar
|
|
|
+ this.T["signature"] = wx.SignJSSDK(this.Site() + this.Url())
|
|
|
+ return this.Render("/frontRouter/wx/share/sess/b-share.html", &this.T)
|
|
|
} else {
|
|
|
this.T["shareid"] = shareid
|
|
|
this.T["share_nickname"] = nickname
|