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

/**
 * @name 检测脚本管理模块
 */
// 获取检测脚本列表
export const getTestScriptList = (params: TestScript.ReqTestScriptParams) => {
   return http.post<ResPage<TestScript.TestScriptBO>>(`/testScript/list`, params)
  // return http.post<ResPage<Role.ResRoleList>>(`${rePrefix}/testScript/list`, params)
}
