获取路径:

MVC:Server.MapPath("/Templates/vshop/default.json")

WebAPI:System.Web.Hosting.HostingEnvironment.MapPath("/Templates/vshop/default.json")

05-11 17:22