/// <summary> /// 判断是否是自营商城 /// </summary> /// <returns></returns> public static bool IsSelf() { //判断请求链接中是否含有self //string path = ReqHelper.req.Url.AbsolutePath.ToLower(); //return path.Contains("self"); string controller = ReqHelper.GetStringRoute("controller"); return(controller.ToLower().Contains("self")); }
//获取跳转链接 public static string GetRecirectUrl() { string url = ReqHelper.GetString("redirecturl"); if (string.IsNullOrEmpty(url)) { url = Common.CookieHelper.GetCookieValue("redirecturl"); } return(url); }