1.評(píng)論一條推文
說(shuō)明:對(duì)一條推文進(jìn)行評(píng)論
URL
http://localhost:8080/glove/tweetcomment/addcomment
阿里云上的地址是
http://123.56.112.178:8080/glove/tweetcomment/addcomment
HTTP請(qǐng)求方式
POST
請(qǐng)求數(shù)據(jù)
{
"tweetiddiscussreply":4,
"useriddiscussreply":3,
"discussreplytype":1,
"discussreplytext":"這個(gè)是來(lái)測(cè)試評(píng)論的"
}
請(qǐng)求參數(shù)
返回?cái)?shù)據(jù)
1或其它整數(shù)
返回字段
返回的是用戶的整個(gè)user表記錄,這個(gè)使得用戶注冊(cè)成功后登陸成功后,可以直接跳轉(zhuǎn)到用戶的主頁(yè)。