import { ResPage } from '@/api/interface'
import { TestSource } from './interface'
import { ADMIN as rePrefix } from '@/api/config/serviceName'
import http from '@/api'

/**
 * @name 检测源管理模块
 */
// 获取检测脚本列表
export const getTestSourceList = (params: TestSource.ReqTestSourceParams) => {
   return http.post<ResPage<TestSource.TestSourceBO>>(`/testSource/list`, params)
  // return http.post<ResPage<Role.ResRoleList>>(`${rePrefix}/testSource/list`, params)
}
