在Global.asax文件中修改代码
protected void Application_BeginRequest(object sender, EventArgs e)
{
string path = Request.Url.LocalPath;
if (path == "/你想变的地址")
{
Context.RewritePath(path.Replace("你想变的地址", "Handler.ashx"));
}
}
1580

被折叠的 条评论
为什么被折叠?



