modify api url

This commit is contained in:
Eric
2020-06-09 11:01:48 +08:00
parent 8be168741c
commit a7edfb52d8
3 changed files with 4 additions and 4 deletions

View File

@@ -45,14 +45,14 @@ export function getAllReplayStorage() {
export function TestCommandStorage(id) {
return request({
url: `api/v1/terminal/command-storages/${id}/test-connective/`,
url: `/api/v1/terminal/command-storages/${id}/test-connective/`,
method: 'get'
})
}
export function TestReplayStorage(id) {
return request({
url: `api/v1/terminal/replay-storages/${id}/test-connective/`,
url: `/api/v1/terminal/replay-storages/${id}/test-connective/`,
method: 'get'
})
}

View File

@@ -11,7 +11,7 @@ export default {
},
data() {
return {
url: 'api/v1/tickets/tickets/?assign=1'
url: '/api/v1/tickets/tickets/?assign=1'
}
}
}

View File

@@ -11,7 +11,7 @@ export default {
},
data() {
return {
url: 'api/v1/tickets/tickets/?assign=0'
url: '/api/v1/tickets/tickets/?assign=0'
}
}
}