Files
Web_CRICS_Server_VS2010_Prod/CommonEntity/ForkSystem.cs

24 lines
561 B
C#
Raw Normal View History

2025-12-11 09:17:16 +08:00
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);
}
}
}