初始化CRICS

This commit is contained in:
2025-12-11 09:17:16 +08:00
commit 83247ec0a2
2735 changed files with 787765 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Common;
namespace CommonEntity
{
public class ForkSystem
{
public string EndPoint { get; set; }
public byte[] Data { get; set; }
public DateTime CurrentTime { get; set; }
}
public class Fork_Function
{
public static void PublishData<T>(T f)
{
string mns2 = Newtonsoft.Json.JsonConvert.SerializeObject(f);
CSRedisCacheHelper.Publish("redis-forksystemdata", mns2);
}
}
}