feat 项目中心
This commit is contained in:
@@ -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 },
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user