Foxtable(狐表)用户栏目专家坐堂 → 网页授权通过后


  共有2155人关注过本帖树形打印复制链接

主题:网页授权通过后

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:106279 积分:540524 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2019/3/19 21:30:00 [显示全部帖子]

1、可以设置只有主页或者登陆页面才需要授权、其他页面只需要判断cookie是否有openid的值即可

2、
If Verified = False Then
    sb.AppendLine("你无权访问本系统")
Else
    Select Case e.Path
        Case "index1.htm"
            Functions.Execute("index1",e)
        Case "index2.htm"
            Functions.Execute("index2",e)
        Case "index3.htm"
            Functions.Execute("index3",e)
……
    End Select
End If

 回到顶部