From e534b31f8e20f456fb1682ad3bd23e2c5e869b11 Mon Sep 17 00:00:00 2001 From: wangjiahao <1522128093@qq.com> Date: Fri, 30 Jul 2021 13:52:24 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=E5=BB=B6=E9=95=BF=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?=E7=9B=B8=E5=85=B3api=E8=B6=85=E6=97=B6=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/api/system/template.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontend/src/api/system/template.js b/frontend/src/api/system/template.js index 5b83b15bcb..16f427ea36 100644 --- a/frontend/src/api/system/template.js +++ b/frontend/src/api/system/template.js @@ -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' })