17 lines
484 B
TypeScript
17 lines
484 B
TypeScript
export class RelationService {
|
|
/**
|
|
* 关系列表数据
|
|
* GET /User/Relation/GetRelation
|
|
*/
|
|
static async GetRelation(type: number, page: number) {
|
|
return await ApiService.Request("get", "/User/Relation/GetRelation", { type, page });
|
|
}
|
|
|
|
/**
|
|
* FriendHandle
|
|
* GET /User/Relation/FriendHandle
|
|
*/
|
|
static async FriendHandle(no: string) {
|
|
return await ApiService.Request("get", "/User/Relation/FriendHandle", { no });
|
|
}
|
|
} |