Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MliKiowa committed Jun 14, 2024
1 parent cccf4d5 commit be1f938
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions src/common/utils/QQBasicInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ type QQVersionConfigInfo = {
}

let _qqVersionConfigInfo: QQVersionConfigInfo = {
'baseVersion': '9.9.9-23361',
'curVersion': '9.9.9-23361',
'baseVersion': '9.9.11-24568',
'curVersion': '9.9.11-24568',
'prevVersion': '',
'onErrorVersions': [],
'buildId': '23361'
'buildId': '24568'
};

if (fs.existsSync(configVersionInfoPath)) {
Expand All @@ -55,7 +55,7 @@ if (fs.existsSync(configVersionInfoPath)) {
}

export const qqVersionConfigInfo: QQVersionConfigInfo = _qqVersionConfigInfo;

//V1_WIN_NQ_9.9.11_24568_GW_B
export const qqPkgInfo: QQPkgInfo = JSON.parse(fs.readFileSync(pkgInfoPath).toString());
// platform_type: 3,
// app_type: 4,
Expand All @@ -65,7 +65,7 @@ export const qqPkgInfo: QQPkgInfo = JSON.parse(fs.readFileSync(pkgInfoPath).toSt
// platVer: '10.0.26100',
// clientVer: '9.9.9-23159',

let _appid: string = '537216417'; // 默认为 Windows 平台的 appid
let _appid: string = '537226369'; // 默认为 Windows 平台的 appid
if (systemPlatform === 'linux') {
_appid = '537213827';
}
Expand Down
2 changes: 1 addition & 1 deletion src/onebot11/action/msg/SendMsg/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export class SendMsg extends BaseAction<OB11PostSendMsg, ReturnDataType> {
// log("send msg:", peer, sendElements)

const { sendElements, deleteAfterSentFiles } = await createSendElements(messages, group);
// console.log(peer);
console.log(peer, JSON.stringify(sendElements,null,2));
const returnMsg = await sendMsg(peer, sendElements, deleteAfterSentFiles);
return { message_id: returnMsg.id! };
}
Expand Down

0 comments on commit be1f938

Please sign in to comment.