增加私信专辑功能

This commit is contained in:
7lsu
2021-02-27 14:59:19 +08:00
parent 1eb178d0e4
commit cd17ccfbaa
2 changed files with 36 additions and 1 deletions
+18 -1
View File
@@ -2907,7 +2907,7 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009`
**调用例子 :** `/send/text?user_ids=32953014&msg=test`,`/send/text?user_ids=32953014,475625142&msg=test`
### 发送私信音乐
### 发送私信(带歌曲)
说明 : 登录后调用此接口 , 传入用户 id 和要发送的信息,音乐id, 可以发送音乐私信,返回内容为历史私信
@@ -2915,12 +2915,29 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009`
`user_ids` : 用户 id,多个需用逗号隔开
`id` : 要发送音乐的id
`msg` : 要发送的信息
**接口地址 :** `/send/song`
**调用例子 :** `/send/song?user_ids=1&id=351318&msg=测试`
### 发送私信(带专辑)
说明 : 登录后调用此接口 , 传入用户 id 和要发送的信息,专辑id, 可以发送专辑私信,返回内容为消息id
**必选参数 :**
`user_ids` : 用户 id,多个需用逗号隔开
`id` : 要发送专辑的id
`msg` : 要发送的信息
**接口地址 :** `/send/album`
**调用例子 :** `/send/album?user_ids=1&id=351318&msg=测试`
### 发送私信(带歌单)