This commit is contained in:
手瓜一十雪 committed 2024-09-16 19:07:05 +08:00
1 parent 658b1e99cd
commit 69d780d5ca
3 files changed
+6 -6

No files matched your search

@@ -0,0 +1,11 @@
import BaseAction from '../BaseAction';
import { ActionName } from '../types';
export class FetchUserProfileLike extends BaseAction<{ qq: number }, any> {
actionName = ActionName.FetchUserProfileLike;
async _handle(payload: { qq: number }) {
if (!payload.qq) throw new Error('qq is required');
return await this.core.apis.UserApi.getUidByUinV2(payload.qq.toString());
}
}