using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using XHZB.Model; namespace XHZB.Desktop.WebSocket { internal class SocketMsgManger { public static string offlineMsg(int userid) { SocketModel msg = new SocketModel { c = 1001, rid = 1, d = "pc", u = 1, b = new BodyModel { }, f = APP.LoginUser.userid, t = new List() }; return JsonConvert.SerializeObject(msg); } } }