文档
测试
GET
http://localhost:10019/music/play

接口描述

增加播放次数 和 返回收藏状态

请求头

参数名
类型
描述
必填
code
string
如果用户登录的情况下传token,会返回收藏状态
可选

请求参数

参数名
类型
描述
必填
musicId
int
音乐id(这是URL参数)
必填

响应参数

参数名
类型
描述
必填
code
int
必填
msg
string
必填
data
int
必填
length
int
时长
必填
status
int
如果传token,则有值,0代表未收藏,1代表已收藏,2代表token失效
可选