Przeglądaj źródła

fit:路由限制

wangshan 3 lat temu
rodzic
commit
4efa39fb61
1 zmienionych plików z 0 dodań i 4 usunięć
  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"))
 }