public ActionResult ShoppingMallByLingZong(string id) { string hotelId = id; string key = HotelCloud.Common.HCRequest.GetString("key"); //"酒店微信id@用户微信id" string weixinid = HotelCloud.Common.HCRequest.GetString("weixinID"); //酒店微信id string userweixinid = ""; string search = HotelCloud.Common.HCRequest.GetString("MallSearch"); if (!key.Equals("") && key.Contains("@")) { weixinid = key.Split('@')[0];//酒店微信id userweixinid = key.Split('@')[1]; } //促销显示 var pList = CommodityService.GetSaleProductsListToList(weixinid, search, "", ""); ViewData["products"] = pList; ViewData["MallSearch"] = search; ViewData["hotelId"] = id; ViewData["weixinid"] = weixinid; ViewData["userweixinid"] = userweixinid; ViewData["CommodityTypeTable"] = CommodityService.GetCommodityTypeByWeixinId(weixinid, "", search); ViewData["CommodityAllTypeTable"] = CommodityService.GetCommodityTypeByWeixinId(weixinid, "", ""); ViewData["CommodityExtensionTable"] = CommodityService.GetCommodityExtensionByWeixinId(weixinid); return(View()); }