mirror of
https://github.com/ikechan8370/chatgpt-plugin.git
synced 2025-12-16 21:37:11 +00:00
fix: getUin错误
This commit is contained in:
parent
9e7a614ded
commit
dc19009e2a
1 changed files with 2 additions and 2 deletions
|
|
@ -139,7 +139,7 @@ async function uploadRecord (recordUrl, ttsMode = 'vits-uma-genshin-honkai') {
|
||||||
2: 3,
|
2: 3,
|
||||||
5: {
|
5: {
|
||||||
1: Contactable.target,
|
1: Contactable.target,
|
||||||
2: getUin(e),
|
2: getUin(),
|
||||||
3: 0,
|
3: 0,
|
||||||
4: hash,
|
4: hash,
|
||||||
5: buf.length,
|
5: buf.length,
|
||||||
|
|
@ -183,7 +183,7 @@ async function uploadRecord (recordUrl, ttsMode = 'vits-uma-genshin-honkai') {
|
||||||
const fid = rsp[11].toBuffer()
|
const fid = rsp[11].toBuffer()
|
||||||
const b = core.pb.encode({
|
const b = core.pb.encode({
|
||||||
1: 4,
|
1: 4,
|
||||||
2: Bot.uin,
|
2: getUin(),
|
||||||
3: fid,
|
3: fid,
|
||||||
4: hash,
|
4: hash,
|
||||||
5: hash.toString('hex') + '.amr',
|
5: hash.toString('hex') + '.amr',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue