// import { request } from '@/utils/request' import type { AgreementFormVo, BannerVo, PortalEntryGroup, PortalEntryVo, ProjectStatusCount, ProjectSubmissionInfo, ProjectSubmissionVo, } from '@/types/business/home' export function getProjectStatusCount(): Promise { return request({ url: '/web/home-page/project-status-count', method: 'get', }) } export function getServiceTypeList(): Promise { return request({ url: '/web/home-page/service-type-list', method: 'get', }) } export function getServiceTypeDetail( id: number | string, ): Promise { return request({ url: `/web/home-page/service-type-detail/${id}`, method: 'get', }) } export function getCarouselList(): Promise { return request({ url: '/web/home-page/carousel-list', method: 'get', }) } export function getPlatformIntro(): Promise { return request({ url: '/web/home-page/platform-intro', method: 'get', }) } export function getContactInfo(): Promise { return request({ url: '/web/home-page/contact-info', method: 'get', }) } export function getPortalEntryList(): Promise { return request({ url: '/web/vermins/portalEntryUser/list', method: 'get', }) } export function switchPortalEntryGroup( id: number, type: PortalEntryGroup, ): Promise { return request({ url: '/web/vermins/portalEntryUser/add', method: 'post', params: { id, type }, }) }