fix: replace deprecated calls
This commit is contained in:
1 parent
6e5ced5bb9
commit
c7b1a2c02d
18 files changed
+54
-54
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user