08 2018 档案

摘要:MVC使用:System.Web.HttpContext.Current.Server.MapPath(“路径”);方法 Api使用:System.Web.Hosting.HostingEnvironment.MapPath(webConfigProjectDllName);方法 阅读全文
posted @ 2018-08-15 10:11 mopheify 阅读(362) 评论(0) 推荐(0)
摘要:方法一: function guid() { function s4() { return Math.floor((1 + Math.random()) * 0x10000) .toString(16) .substring(1); } return s4() + s4() + '-' + s4() 阅读全文
posted @ 2018-08-07 17:47 mopheify 阅读(109) 评论(0) 推荐(0)