Appearance
登录后调用此接口,传入用户 id, 可以获取用户历史评论
/user/comment/history
GET
POST
user_comment_history
uid
limit
time
GET /user/comment/history?uid=32953014 GET /user/comment/history?uid=32953014&limit=1&time=1616217577564
import { userCommentHistory } from 'hana-music-api' const result = await userCommentHistory({ uid: '32953014', }) console.log(result.body)
说明 : 登录后调用此接口,传入用户 id, 可以获取用户历史评论
必选参数 : uid : 用户 id
可选参数 :
limit : 返回数量,默认为 10
time: 上一条数据的 time,第一页不需要传,默认为 0
接口地址 : /user/comment/history
调用例子 :/user/comment/history?uid=32953014/user/comment/history?uid=32953014&limit=1&time=1616217577564 (需要换成自己的用户 id)
/user/comment/history?uid=32953014
/user/comment/history?uid=32953014&limit=1&time=1616217577564
获取用户历史评论
接口信息
/user/comment/historyGET/POSTuser_comment_history请求参数
uidlimittimeHTTP 示例
编程式调用
补充说明
说明 : 登录后调用此接口,传入用户 id, 可以获取用户历史评论
必选参数 :
uid: 用户 id可选参数 :
limit: 返回数量,默认为 10time: 上一条数据的 time,第一页不需要传,默认为 0接口地址 :
/user/comment/history调用例子 :
/user/comment/history?uid=32953014/user/comment/history?uid=32953014&limit=1&time=1616217577564(需要换成自己的用户 id)