2017-07-21 16:41:18 +08:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.Linq;
|
|
|
|
|
|
using System.Web;
|
|
|
|
|
|
using System.Web.Mvc;
|
|
|
|
|
|
using System.Web.Routing;
|
|
|
|
|
|
|
|
|
|
|
|
namespace 软件系统浏览器模版
|
|
|
|
|
|
{
|
|
|
|
|
|
public class RouteConfig
|
|
|
|
|
|
{
|
|
|
|
|
|
public static void RegisterRoutes(RouteCollection routes)
|
|
|
|
|
|
{
|
|
|
|
|
|
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
|
|
|
|
|
|
|
|
|
|
|
|
routes.MapRoute(
|
|
|
|
|
|
name: "Default",
|
|
|
|
|
|
url: "{controller}/{action}/{id}",
|
2017-07-22 22:04:33 +08:00
|
|
|
|
defaults: new { controller = "Account", action = "Login", id = UrlParameter.Optional }
|
2017-07-21 16:41:18 +08:00
|
|
|
|
);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|