1111
This commit is contained in:
17
Web/src/services/user/RelationService.ts
Normal file
17
Web/src/services/user/RelationService.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
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 });
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user