Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Retrofit retrofit = new Retrofit.Builder()
- .baseUrl(BaseApplication.HEAD_URL)
- .client(client)
- .addConverterFactory(GsonConverterFactory.create())
- .addCallAdapterFactory(RxJava2CallAdapterFactory.create())
- .build();
- [
- {
- "type": "news",
- "id": "20170124013990",
- "column": "banner",
- "needUpdate": "0"
- },
- {
- "type": "news",
- "id": "20170124001763",
- "column": "banner",
- "needUpdate": "0"
- },
- {
- "type": "news",
- "id": "20170123019000",
- "column": "banner",
- "needUpdate": "0"
- },
- {
- "type": "news",
- "id": "20170123017746",
- "column": "banner",
- "needUpdate": "0"
- }
- ]
- {
- "code": 0,
- "data": {
- "20170122": {
- "atype": "0",
- "isCollect": "-1"
- },
- "20170123": {
- "atype": "1",
- "isCollect": "-1"
- },
- "20170124": {
- "atype": "0",
- "isCollect": "-1"
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement