星火直播PC
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SocketMsgManger.cs 715B

12345678910111213141516171819202122232425262728293031
  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using XHZB.Model;
  8. namespace XHZB.Desktop.WebSocket
  9. {
  10. internal class SocketMsgManger
  11. {
  12. public static string offlineMsg(int userid)
  13. {
  14. SocketModel msg = new SocketModel
  15. {
  16. c = 1001,
  17. rid = 1,
  18. d = "pc",
  19. u = 1,
  20. b = new BodyModel
  21. {
  22. },
  23. f = APP.LoginUser.userid,
  24. t = new List<int>()
  25. };
  26. return JsonConvert.SerializeObject(msg);
  27. }
  28. }
  29. }