refactor: 去除所有前端api自定义超时时间

This commit is contained in:
fit2cloud-chenyw
2021-12-28 11:46:10 +08:00
parent 90e584da1f
commit 87d3ec69f2
9 changed files with 3 additions and 28 deletions

View File

@@ -4,7 +4,6 @@ export function validate(data) {
return request({
url: '/system/testConnection',
method: 'post',
timeout: 30000,
loading: true,
data

View File

@@ -4,14 +4,12 @@ export function save(data) {
return request({
url: '/template/save',
data: data,
timeout: 60000,
method: 'post'
})
}
export function templateDelete(id) {
return request({
url: '/template/delete/' + id,
timeout: 60000,
method: 'delete'
})
}
@@ -19,7 +17,6 @@ export function templateDelete(id) {
export function showTemplateList(data) {
return request({
url: '/template/templateList',
timeout: 60000,
data: data,
method: 'post'
})
@@ -28,7 +25,6 @@ export function showTemplateList(data) {
export function findOne(id) {
return request({
url: '/template/findOne/' + id,
timeout: 60000,
method: 'get'
})
}
@@ -36,7 +32,6 @@ export function findOne(id) {
export function find(data) {
return request({
url: '/template/find',
timeout: 60000,
data: data,
method: 'post'
})