14 lines
494 B
TypeScript
14 lines
494 B
TypeScript
|
|
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.ResTestScriptList>>(`/RoleList_Post`, params)
|
||
|
|
// return http.post<ResPage<Role.ResRoleList>>(`${rePrefix}/testScript/list`, params)
|
||
|
|
}
|