11
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
}
|
||||
@@ -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 });
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user