17 lines
404 B
TypeScript
17 lines
404 B
TypeScript
|
|
import { PagedAndSortedResultRequestDto, PagedResultDto } from '../proxy'
|
||
|
|
import apiService, { Config } from './api.service'
|
||
|
|
import { ServiceDto } from '@/proxy/services/models'
|
||
|
|
|
||
|
|
export class ServiceService {
|
||
|
|
apiName = 'Default'
|
||
|
|
|
||
|
|
getList = () =>
|
||
|
|
apiService.fetchData<ServiceDto[]>(
|
||
|
|
{
|
||
|
|
method: 'GET',
|
||
|
|
url: '/api/app/service',
|
||
|
|
},
|
||
|
|
{ apiName: this.apiName },
|
||
|
|
)
|
||
|
|
}
|