AuthObj.cs 429 B

123456789101112131415161718192021222324252627
  1. using Newtonsoft.Json;
  2. namespace HttpApi
  3. {
  4. public class AuthObj
  5. {
  6. public string token;
  7. public string ToJson()
  8. {
  9. return JsonConvert.SerializeObject(this);
  10. }
  11. }
  12. public class AuthResponseObj
  13. {
  14. public string session;
  15. public string user_name;
  16. public string user_avatar;
  17. public int diamond;
  18. public string create_time;
  19. }
  20. }