|
@@ -2,7 +2,6 @@ package front
|
|
|
|
|
|
import (
|
|
|
"app.yhyue.com/moapp/jybase/common"
|
|
|
- "app.yhyue.com/moapp/jybase/encrypt"
|
|
|
elastic "app.yhyue.com/moapp/jybase/esv1"
|
|
|
"app.yhyue.com/moapp/jypkg/public"
|
|
|
"fmt"
|
|
@@ -220,7 +219,7 @@ func (this *CommonRouter) doPcBigPage(pageSign, types string) error {
|
|
|
if !strings.Contains(pageSign, "unit_portrayal") && !strings.Contains(pageSign, "ent_portrait") && !strings.Contains(pageSign, "ent_ser_portrait") && userid == "" {
|
|
|
return this.Redirect("/notin/page")
|
|
|
}
|
|
|
- if userid == "" {
|
|
|
+ /*if userid == "" {
|
|
|
if strings.Contains(pageSign, "ent_ser_portrait") || strings.Contains(pageSign, "ent_portrait") {
|
|
|
urlArr := strings.Split(pageSign, "/")
|
|
|
entId := encrypt.DecodeArticleId2ByCheck(urlArr[len(urlArr)-1])[0]
|
|
@@ -237,7 +236,7 @@ func (this *CommonRouter) doPcBigPage(pageSign, types string) error {
|
|
|
return this.Redirect(fmt.Sprintf("/dw/%s.html", seoId))
|
|
|
}
|
|
|
}
|
|
|
- }
|
|
|
+ }*/
|
|
|
return this.Render(fmt.Sprintf("/frontRouter/pc/page_big_pc/sess/index.html"))
|
|
|
}
|
|
|
|