1.項目首頁
說明:獲取項目的首頁列表
URL
http://localhost:8080/glove/item/list
阿里云上的地址是
http://123.56.112.178:8080/glove/tweetcomment/addcomment
HTTP請求方式
POST
請求數(shù)據(jù)
{
? ? ?"proof" :"111",
? ? ? "userID":1,
? ? ? "page": 1,
? ? ? "pageSize":6
}
請求參數(shù)
返回數(shù)據(jù)
{
"lp":[
{
"itemid":1,
"itemname":"為建立新的希望小學捐款",
"circleidstart":100,
"circleidsupervise":102,
"useridprincipal":1,
"itemstart":1470734374000,
"itemend":1472203183000,
"itemtargetmoney":10000,
"itemrealmoney":3334,
"itemdescription":"盡管Google在大部分安卓版本中推薦使用HttpURLConnection,但是這個類相比HttpClient實在是太難用,太弱爆了。 OkHttp是一個相對成熟的解決方案,據(jù)說Android4.4的源碼中可以看到HttpURLConnection已經(jīng)替換成OkHttp實現(xiàn)了。所以我們更有理由相信OkHttp的強大。 OkHttp 處理了很多網(wǎng)絡疑難雜癥:會從很多常用的連接問題中自動恢復。如果您的服務器配置了多個IP地址,當?shù)谝粋€IP連接失敗的時候,OkHttp會自動嘗試下一個IP。OkHttp還處理了代理服務器問題和SSL握手失敗問題。",
"itemphoto":"http://7xihgc.com1.z0.glb.clouddn.com/11.jpg",
"imgurlone":"http://7xihgc.com1.z0.glb.clouddn.com/15.jpg",
"imgurltwo":"http://7xihgc.com1.z0.glb.clouddn.com/11.jpg",
"imgurlthree":"http://7xihgc.com1.z0.glb.clouddn.com/1.jpg",
"imgurlfour":"http://7xihgc.com1.z0.glb.clouddn.com/12.jpg",
"imgurlfive":"http://7xihgc.com1.z0.glb.clouddn.com/13.jpg",
"imgurlsix":null,
"backupone":null,
"backuptwo":null,
"backupthree":null,
"backupfour":null,
"backupfive":null,
"backupsix":null
}
],
"retcode":2000,
"msg":"成功"
}
返回字段