|
@@ -51,7 +51,14 @@ func (this *CommonRouter) WxCommonPage(folder, loginSign, htmlPage string) error
|
|
|
func (this *CommonRouter) PcCommonPage(folder, loginSign, htmlPage string) error {
|
|
|
if loginSign != "free" {
|
|
|
if userid, _ := this.GetSession("userId").(string); userid == "" {
|
|
|
- return this.Redirect("/notin/page")
|
|
|
+ var shareid = this.GetString("id")
|
|
|
+ if len(shareid) == 0 {
|
|
|
+ shareid = "10"
|
|
|
+ }
|
|
|
+ this.T["logid"] = config.Seoconfig["jysskzy"].(string)
|
|
|
+ this.T["shareid"] = se.EncodeString(shareid)
|
|
|
+ return this.Render("/pc/notin.html", &this.T)
|
|
|
+ // return this.Redirect("/notin/page")
|
|
|
}
|
|
|
}
|
|
|
return this.Render(fmt.Sprintf("/frontRouter/pc/%s/%s/%s.html", folder, loginSign, htmlPage))
|