新api与老api不兼容
kongminhao opened this issue · 1 comments
kongminhao commented
API 地址:
https://www.tophub.fun:8080/GetAllInfoGzip?id=1
{
"Code": 0,
"Message": "获取数据成功",
"Data": [{
"CreateTime": "1572327004",
"Desc": "我说的冷漠:感情波动不大,能引起感情波动的事情不多,不讨好不挽留,习惯自己一个人",
"Title": "怎么使自己变成一个冷漠的人?",
"Url": "https://www.zhihu.com/question/287784244",
"approvalNum": "0",
"commentNum": "0",
"id": "518166"
}, {
"CreateTime": "1572327003",
"Desc": "",
"Title": "学医的女生有多可怕?",
"Url": "https://www.zhihu.com/question/265637604",
"approvalNum": "0",
"commentNum": "0",
"id": "521790"
}]
}
原API提供的为小写title,小写url。
新api提供的为首字母大写Title, 首字母大写Url.
而readme中仍为小写的
建议修改。
lucasjinreal commented
小写正规些,这怎么大写小写,驼峰都来了。。