forked from github/dataease
refactor:延长模板相关api超时时间
This commit is contained in:
parent
4dcfcf604e
commit
e534b31f8e
@ -4,12 +4,14 @@ 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'
|
||||
})
|
||||
}
|
||||
@ -17,6 +19,7 @@ export function templateDelete(id) {
|
||||
export function showTemplateList(data) {
|
||||
return request({
|
||||
url: '/template/templateList',
|
||||
timeout: 60000,
|
||||
data: data,
|
||||
method: 'post'
|
||||
})
|
||||
@ -25,6 +28,7 @@ export function showTemplateList(data) {
|
||||
export function findOne(id) {
|
||||
return request({
|
||||
url: '/template/findOne/' + id,
|
||||
timeout: 60000,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
@ -32,6 +36,7 @@ export function findOne(id) {
|
||||
export function find(data) {
|
||||
return request({
|
||||
url: '/template/find',
|
||||
timeout: 60000,
|
||||
data: data,
|
||||
method: 'post'
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user