This commit is contained in:
caozehui
2024-12-31 14:27:36 +08:00
parent 65e54ee2b5
commit 081aeacff7
9 changed files with 325 additions and 228 deletions

View File

@@ -13,15 +13,15 @@ export const closePreTest = (params) => {
* 开始正式检测
* @param params
*/
export const startTest = (params: { deviceIds: string[] }) => {
return http.post(`/test/startTest`, params, {loading: false})
export const startTest = (params) => {
return http.post(`/prepare/startTest`, params, {loading: false})
}
/**
* 暂停正式检测
* @param params
*/
export const pauseTest = (params: { deviceIds: string[] }) => {
export const pauseTest = (params) => {
return http.post(`/test/pauseTest`, params, {loading: false})
}
@@ -29,6 +29,6 @@ export const pauseTest = (params: { deviceIds: string[] }) => {
* 继续正式检测
* @param params
*/
export const resumeTest = (params: { deviceIds: string[] }) => {
export const resumeTest = (params) => {
return http.post(`/test/resumeTest`, params, {loading: false})
}