微调
This commit is contained in:
@@ -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})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user