Advertisement
Guest User

Untitled

a guest
Jan 23rd, 2017
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.02 KB | None | 0 0
  1. Retrofit retrofit = new Retrofit.Builder()
  2. .baseUrl(BaseApplication.HEAD_URL)
  3. .client(client)
  4. .addConverterFactory(GsonConverterFactory.create())
  5. .addCallAdapterFactory(RxJava2CallAdapterFactory.create())
  6. .build();
  7.  
  8. [
  9. {
  10. "type": "news",
  11. "id": "20170124013990",
  12. "column": "banner",
  13. "needUpdate": "0"
  14. },
  15. {
  16. "type": "news",
  17. "id": "20170124001763",
  18. "column": "banner",
  19. "needUpdate": "0"
  20. },
  21. {
  22. "type": "news",
  23. "id": "20170123019000",
  24. "column": "banner",
  25. "needUpdate": "0"
  26. },
  27. {
  28. "type": "news",
  29. "id": "20170123017746",
  30. "column": "banner",
  31. "needUpdate": "0"
  32. }
  33. ]
  34.  
  35. {
  36. "code": 0,
  37. "data": {
  38. "20170122": {
  39. "atype": "0",
  40. "isCollect": "-1"
  41. },
  42. "20170123": {
  43. "atype": "1",
  44. "isCollect": "-1"
  45. },
  46. "20170124": {
  47. "atype": "0",
  48. "isCollect": "-1"
  49. }
  50. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement