fix: replace deprecated calls

This commit is contained in:
Wesley F. Young
2024-08-12 08:19:28 +08:00
parent 6e5ced5bb9
commit c7b1a2c02d
18 changed files with 54 additions and 54 deletions

View File

@@ -22,7 +22,7 @@ export default class SendLike extends BaseAction<Payload, null> {
//logDebug('点赞参数', payload);
try {
const qq = payload.user_id.toString();
const uid: string = await NTQQUserApi.getUidByUin(qq) || '';
const uid: string = await NTQQUserApi.getUidByUinV2(qq) || '';
const result = await NTQQUserApi.like(uid, parseInt(payload.times?.toString()) || 1);
//logDebug('点赞结果', result);
if (result.result !== 0) {