12345678910111213141516171819202122232425262728293031 |
- 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<int>()
- };
- return JsonConvert.SerializeObject(msg);
- }
- }
- }
|