ModelApiRequest.cs 939 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using System;
  2. using System.Collections.Generic;
  3. namespace Api
  4. {
  5. [Serializable]
  6. public class ModelApiRequest
  7. {
  8. public string api;
  9. // 各个接口请求都需要的session
  10. public string session;
  11. //queryPlayerId
  12. public int queryPlayerId;
  13. // buyCock use marketId
  14. public int marketId;
  15. public string check;
  16. public int sendToPlayer;
  17. public string time;
  18. public string extra;
  19. public string msgId;
  20. public string battleSession;
  21. public int cockId;
  22. public int diamond;
  23. public string avatar;
  24. public string name;
  25. public MsgContent msgContent;
  26. //login need
  27. public string phone;
  28. public string code;
  29. public bool isIndia;
  30. public void buildEncryptRequest()
  31. {
  32. session = AccountManager.Instance.GetSession();
  33. }
  34. }
  35. }