feat 项目中心

This commit is contained in:
Ironsp
2026-10-09 11:11:10 +08:00
parent bb897ccc94
commit 1bbbe50bd9
4 changed files with 22 additions and 12 deletions

View File

@@ -24,7 +24,9 @@ export function getServiceTypeList(): Promise<ProjectSubmissionVo[]> {
})
}
export function getServiceTypeDetail(id: number | string): Promise<ProjectSubmissionInfo> {
export function getServiceTypeDetail(
id: number | string,
): Promise<ProjectSubmissionInfo> {
return request<ProjectSubmissionInfo>({
url: `/web/home-page/service-type-detail/${id}`,
method: 'get',
@@ -54,14 +56,17 @@ export function getContactInfo(): Promise<AgreementFormVo> {
export function getPortalEntryList(): Promise<PortalEntryVo[]> {
return request<PortalEntryVo[]>({
url: '/vermins/portalEntryUser/list',
url: '/web/vermins/portalEntryUser/list',
method: 'get',
})
}
export function switchPortalEntryGroup(id: number, type: PortalEntryGroup): Promise<void> {
export function switchPortalEntryGroup(
id: number,
type: PortalEntryGroup,
): Promise<void> {
return request<void>({
url: '/vermins/portalEntryUser/add',
url: '/web/vermins/portalEntryUser/add',
method: 'post',
params: { id, type },
})