fix: replace deprecated calls

This commit is contained in:
Wesley F. Young committed 2024-08-12 08:20:11 +08:00
1 parent 257135763f
commit a88c37ea56
18 files changed
+54 -54

No files matched your search

+1 -1
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) {