This commit is contained in:
Putoo
2026-05-22 09:07:38 +08:00
parent 784bc66ef6
commit 0016ef7e83
22 changed files with 666 additions and 62 deletions

View File

@@ -0,0 +1,19 @@
export class ChatService {
/**
* 获取公聊信息
* GET /Chat/Chat/GetChatData
*/
static async GetChatData(type: number, page: number) {
return await ApiService.Request("get", "/Chat/Chat/GetChatData", { type, page });
}
/**
* 发言
* POST /Chat/Chat/SendChat
* @param type body
* @param sign body
*/
static async SendChat(type: number, sign: string) {
return await ApiService.Request("post", "/Chat/Chat/SendChat", { type, sign });
}
}