mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2024-11-21 09:36:35 +00:00
fix: music sign
This commit is contained in:
parent
69380c9c73
commit
86ae6dd332
@ -622,7 +622,10 @@ export class OneBotMsgApi {
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
const musicJson = await RequestUtil.HttpGetJson<any>(signUrl, 'POST', postData);
|
const musicJson = await RequestUtil.HttpGetJson<any>(signUrl, 'POST', postData);
|
||||||
return this.ob11ToRawConverters.json(musicJson, context);
|
return this.ob11ToRawConverters.json({
|
||||||
|
data: { data: musicJson },
|
||||||
|
type: OB11MessageDataType.json
|
||||||
|
}, context);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
this.core.context.logger.logError('生成音乐消息失败', e);
|
this.core.context.logger.logError('生成音乐消息失败', e);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user