This commit is contained in:
Putoo
2026-05-18 18:12:21 +08:00
parent 571877970b
commit 2037d1e577
20 changed files with 555 additions and 77 deletions

View File

@@ -8,10 +8,18 @@ export class PubService {
}
/**
* GetNoticeData
* 获取公告列表
* GET /Pub/GetNoticeData
*/
static async GetNoticeData(page: number, limit: number) {
return await ApiService.Request("get", "/Pub/GetNoticeData", { page, limit });
}
/**
* 获取公告详情
* GET /Pub/GetNoticeInfo
*/
static async GetNoticeInfo(id: string) {
return await ApiService.Request("get", "/Pub/GetNoticeInfo", { id });
}
}

View File

@@ -26,4 +26,12 @@ export class LoginService {
static async LoginOut(sid: string) {
return await ApiService.Request("get", "/Login/LoginOut", { sid });
}
/**
* 注册基础账号信息
* GET /Login/Regist
*/
static async Register(sid: string, area: number) {
return await ApiService.Request("get", "/Login/Register", { sid, area });
}
}