/// <summary>
        /// 更新积分商城信息
        /// </summary>
        /// <param name="exchangeJson"></param>
        /// <returns></returns>
        public static string UpdateExchangeModel(DateTime dayDate, string exchangeJson)
        {
            IntegralExchangeModel    model  = new IntegralExchangeModel();
            Dictionary <int, string> exData = new Dictionary <int, string>();

            model = GetDailyExchangeModel(dayDate); //获取当日的model用以更新

            try
            {
                exData = CommonLib.Helper.JsonDeserializeObject <Dictionary <int, string> >(exchangeJson);
            }
            catch (Exception ex)
            {
                return("");
            }

            if (exData != null && exData.Count > 0)
            {
                foreach (KeyValuePair <int, string> item in exData)
                {
                    if (!string.IsNullOrEmpty(item.Value))
                    {
                        model.DataList.Find(x => x.ProductId == item.Key).VisitNum = Convert.ToInt32(item.Value);
                    }
                    else
                    {
                        model.DataList.Find(x => x.ProductId == item.Key).VisitNum = 0;
                    }
                }

                int reVal = Sys_DailyIntegralExchangeBLL.ModifyRecord(dayDate, model);

                if (reVal == 2)
                {
                    return("success");
                }
                else
                {
                    return("");
                }
            }

            else
            {
                return("");
            }
        }
 /// <summary>
 /// 获取某日积分商城统计
 /// </summary>
 /// <returns></returns>
 public static IntegralExchangeModel GetDailyExchangeModel(DateTime dayDate)
 {
     return(Sys_DailyIntegralExchangeBLL.GetDailyExchangeModel(dayDate));
 }