123456789101112131415161718192021222324252627282930313233343536 |
- class Api {
- static final String HOST = "https://www.oschina.net";
- // 资讯列表
- static final String NEWS_LIST = "http://osc.yubo725.top/news/list";
- // 资讯详情
- static final String NEWS_DETAIL = HOST + "/action/openapi/news_detail";
- // 动弹列表
- static final String TWEETS_LIST = HOST + "/action/openapi/tweet_list";
- // 评论列表
- static final String COMMENT_LIST = HOST + "/action/openapi/comment_list";
- // 评论回复
- static final String COMMENT_REPLY = HOST + "/action/openapi/comment_reply";
- // 获取用户信息
- static final String USER_INFO = HOST + "/action/openapi/user";
- // 发布动弹
- static final String PUB_TWEET = HOST + "/action/openapi/tweet_pub";
- // 添加到小黑屋
- static final String ADD_TO_BLACK = "http://osc.yubo725.top/black/add";
- // 查询小黑屋
- static final String QUERY_BLACK = "http://osc.yubo725.top/black/query";
- // 从小黑屋中删除
- static final String DELETE_BLACK = "http://osc.yubo725.top/black/delete";
- // 开源活动
- static final String EVENT_LIST = "http://osc.yubo725.top/events/";
- }
|