lixiaojun
2023-11-24 bd2c0ed221e235420c7fdffefa1cdfa085529a0a
Yw.Service.Curve.Core/5-service/2-pump-curve-mapping/cache/PumpCurveMappingCacheHelper.cs
@@ -8,7 +8,7 @@
    {
        private const string _contentKey = "PumpCurveMappingList";
        public static string GetCacheKey()
        internal static string GetCacheKey()
        {
            return CacheHelper.GetCacheKey(_contentKey);
        }
@@ -50,6 +50,16 @@
            MemoryCacheHelper.Remove(cacheKey);
        }
        /// <summary>
        /// 发布
        /// </summary>
        public static void Publish(string key)
        {
            var cacheKey = GetCacheKey();
            MemoryCacheWipeRelationHelper.Set(key, cacheKey);
        }
        /// <summary>
        /// 触发
        /// </summary>