mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2025-07-19 12:03:37 +00:00
fix: music sign
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user