瀏覽代碼

fit:路由限制

wangshan 3 年之前
父節點
當前提交
4efa39fb61
共有 1 個文件被更改,包括 0 次插入4 次删除
  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"))
 }