chore: OBAPI

This commit is contained in:
手瓜一十雪 committed 2024-08-09 16:22:35 +08:00
1 parent 67d92c61f7
commit 5e79994ec2
16 files changed
+28 -165

No files matched your search

+2 -1
View File
@@ -1,4 +1,4 @@
import { NTQQUserApi } from '@/core/apis';
import BaseAction from '../BaseAction';
import { ActionName } from '../types';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
@@ -18,6 +18,7 @@ export default class SendLike extends BaseAction<Payload, null> {
actionName = ActionName.SendLike;
PayloadSchema = SchemaData;
protected async _handle(payload: Payload): Promise<null> {
const NTQQUserApi = this.CoreContext.getApiContext().UserApi;
//logDebug('点赞参数', payload);
try {
const qq = payload.user_id.toString();