2024-11-18 09:02:57 +08:00
|
|
|
import type { ResPage } from '@/api/interface'
|
|
|
|
|
import type { TestSource } from '@/api/device/interface/testSource'
|
2024-10-23 20:53:58 +08:00
|
|
|
import http from '@/api'
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @name 检测源管理模块
|
|
|
|
|
*/
|
|
|
|
|
// 获取检测脚本列表
|
|
|
|
|
export const getTestSourceList = (params: TestSource.ReqTestSourceParams) => {
|
2024-10-31 08:51:30 +08:00
|
|
|
return http.post<ResPage<TestSource.TestSourceBO>>(`/testSource/list`, params)
|
2024-10-23 20:53:58 +08:00
|
|
|
// return http.post<ResPage<Role.ResRoleList>>(`${rePrefix}/testSource/list`, params)
|
|
|
|
|
}
|