public ActionResult Management() { #region 二维码 string sharePath = Url.Action("Index", "DistributionMarket", new { Area = "Mobile" }); string fullPath = ""; string strUrl = ""; WeiXinHelper.CreateQCode(sharePath, out fullPath, out strUrl); ViewBag.ShopQUrl = fullPath; ViewBag.ShopQCode = strUrl; #endregion return(View()); }
/// <summary> /// 分销商品佣金管理 /// </summary> /// <returns></returns> public ActionResult Manage() { if (!isConfigRight) { return(RedirectToAction("DefaultBrokerage")); } #region 二维码 string sharePath = Url.Action("ShopDetail", "DistributionMarket", new { Area = "Mobile", id = curshopid }); string fullPath = ""; string strUrl = ""; WeiXinHelper.CreateQCode(sharePath, out fullPath, out strUrl); ViewBag.ShopQUrl = fullPath; ViewBag.ShopQCode = strUrl; #endregion return(View()); }