摘要: 首先需要配置Web.config文件,配置内容如下: <system.web> <!--指定认证方式为Forms--> <authentication mode="Forms"> <!--loginUrl的值为你登陆页面url--> <forms loginUrl="~/User/Login" sl 阅读全文
posted @ 2019-04-10 09:28 老柚子 阅读(1930) 评论(0) 推荐(0) 编辑