public ActionResult Index(string id)
        {
            string hotelId      = id;
            string key          = HotelCloud.Common.HCRequest.GetString("key");      //"酒店微信id@用户微信id"
            string weixinid     = HotelCloud.Common.HCRequest.GetString("weixinID"); //酒店微信id
            string userweixinid = "";

            if (!key.Equals("") && key.Contains("@"))
            {
                weixinid     = key.Split('@')[0];//酒店微信id
                userweixinid = key.Split('@')[1];
            }

            string         search             = HotelCloud.Common.HCRequest.GetString("SupermarketSearch");
            DataTable      commodityDataTable = CommodityService.GetDataByUserId(weixinid, id, userweixinid);
            List <DataRow> rows = commodityDataTable.AsEnumerable().ToList();

            if (!string.IsNullOrWhiteSpace(search))
            {
                rows = rows.Where(r => WeiXinPublic.ConvertHelper.ToString(r["Name"]).Contains(search)).ToList();
            }

            string hotelName = DishOrderLogic.GetHotelName(hotelId);

            ViewData["SupermarketSearch"]  = search;
            ViewData["hotelId"]            = id;
            ViewData["Address"]            = hotelName;
            ViewData["weixinid"]           = weixinid;
            ViewData["userweixinid"]       = userweixinid;
            ViewData["commodityDataTable"] = commodityDataTable;
            ViewData["commodityList"]      = rows;
            ViewData["CommodityTypeTable"] = CommodityService.GetCommodityTypeByhotelId(weixinid, hotelId, "");
            return(View());
        }