Explorar o código

fit:路由限制

wangshan %!s(int64=3) %!d(string=hai) anos
pai
achega
4efa39fb61
Modificáronse 1 ficheiros con 0 adicións e 4 borrados
  1. 0 4
      src/jfw/front/frontRouter.go

+ 0 - 4
src/jfw/front/frontRouter.go

@@ -256,9 +256,5 @@ func (this *CommonRouter) OrgpcPage(htmlPage string) error {
 	return this.doOrgpcPage()
 }
 func (this *CommonRouter) doOrgpcPage() error {
-	userid, _ := this.GetSession("userId").(string)
-	if userid == "" {
-		return this.Redirect("/notin/page")
-	}
 	return this.Render(fmt.Sprintf("/frontRouter/pc/page_entbase_pc/sess/index.html"))
 }