Skip to content

抱一抱评论

调用此接口,可抱一抱评论

接口信息

项目
接口地址/hug/comment
请求方式GET / POST
需要登录
对应模块hug_comment
文档分类评论

请求参数

参数类型必填默认值说明
uidstring-用户 id
cidstring-评论 id
sidstring-资源 id

HTTP 示例

bash
GET /hug/comment?uid=285516405&cid=1167145843&sid=863481066

编程式调用

ts
import { hugComment } from 'hana-music-api'

const result = await hugComment({
  uid: '285516405',
  cid: '1167145843',
  sid: '863481066',
})

console.log(result.body)

补充说明

说明 : 调用此接口,可抱一抱评论

必选参数 :

uid: 用户 id

cid: 评论 id

sid: 资源 id

接口地址 : /hug/comment

调用例子 : /hug/comment?uid=285516405&cid=1167145843&sid=863481066

Released under the MIT License.