/// <summary>
        /// 刷新喷漆打折旧配置的服务缓存
        /// </summary>
        /// <returns></returns>
        public ActionResult RefreshPaintDiscountPaintCache()
        {
            var manager = new PaintDiscountConfigManager();
            var result  = manager.RefreshPaintDiscountConfigCache();

            return(Json(new { Status = result, Msg = $"刷新缓存{(result ? "成功" : "失败")}" }, JsonRequestBehavior.AllowGet));
        }
        /// <summary>
        /// 移除喷漆打折详情缓存
        /// </summary>
        /// <param name="packageId"></param>
        /// <param name="servicePid"></param>
        /// <returns></returns>
        public ActionResult RemovePaintDiscountDetailCache(int packageId, string servicePid = "")
        {
            var manager = new PaintDiscountConfigManager();
            var result  = false;

            if (string.IsNullOrWhiteSpace(servicePid))
            {
                result = manager.RefreshPaintDiscountConfigCache(packageId);
            }
            else
            {
                var cacheKey = $"PaintDiscountPackageDetail/{packageId}/{servicePid}";
                result = manager.RemovePaintRedisCache(cacheKey);
            }
            return(Json(new { Status = result, Msg = $"刷新缓存{(result ? "成功" : "失败")}" }, JsonRequestBehavior.AllowGet));
        }