From be683ea4bb0099268cd4eb80470cc6c9bb27b325 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E6=A0=91=E6=98=8E?= <775174143@qq.com> Date: Mon, 30 Dec 2019 14:28:01 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/react/src/AppConfig.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/react/src/AppConfig.js b/public/react/src/AppConfig.js index 29b857475..29e7461ec 100644 --- a/public/react/src/AppConfig.js +++ b/public/react/src/AppConfig.js @@ -97,17 +97,17 @@ export function initAxiosInterceptors(props) { if (window.location.port === "3007") { config.url = `${proxy}${url}`; if (config.url.indexOf('?') == -1) { - config.url = `${config.url}?debug=${debugType}&openkey=${newopens}`; + config.url = `${config.url}?debug=${debugType}×tamp=${timestamp}&client_key=${newopens}`; } else { - config.url = `${config.url}&debug=${debugType}&openkey=${newopens}`; + config.url = `${config.url}&debug=${debugType}×tamp=${timestamp}&client_key=${newopens}`; } } else { // 加api前缀 config.url = url; if (config.url.indexOf('?') == -1) { - config.url = `${config.url}?openkey=${newopens}`; + config.url = `${config.url}?×tamp=${timestamp}&client_key=${newopens}`; } else { - config.url = `${config.url}&openkey=${newopens}`; + config.url = `${config.url}×tamp=${timestamp}&client_key=${newopens}`; } } }