62,046
社区成员
发帖
与我相关
我的任务
分享
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Login", action = "Index", id = UrlParameter.Optional },
namespaces: new string[] { "Raccoon.OA.WebUI.Controllers" }
);
string [] args = new string [10];
args[0] = "xxxx.xxxx.xxx";
args[1] = "xxx.xxxx.xxxxx";
//....
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { controller = "Login", action = "Index", id = UrlParameter.Optional },
namespaces: args
);