feat: 扩展GetFriendCategory Api
This commit is contained in:
1 parent
145ef0aab8
commit
3ecb0991e3
4 files changed
+19
-2
No files matched your search
@@ -0,0 +1,14 @@
|
||||
import { OB11User } from '../../types';
|
||||
import { OB11Constructor } from '../../constructor';
|
||||
import { buddyCategory, friends } from '@/core/data';
|
||||
import BaseAction from '../BaseAction';
|
||||
import { ActionName } from '../types';
|
||||
import { buddyCategorType } from '@/core/entities/';
|
||||
|
||||
export class GetFriendCategory extends BaseAction<void, Array<buddyCategorType>> {
|
||||
actionName = ActionName.GetFriendCategory;
|
||||
|
||||
protected async _handle(payload: void) {
|
||||
return buddyCategory.data;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user