From caaa37d3f59eeb33d97e0f3497bbf5885865f59d Mon Sep 17 00:00:00 2001
From: dangsn <dangsn@chicecm.com>
Date: 星期一, 09 十二月 2024 18:27:17 +0800
Subject: [PATCH] 调整WebBoService中的查询接口。主要是BusinessObject对象属性的赋值,以及BusinessObject和BaseModel之间的属性互相赋值

---
 Source/plt-web/plt-web-ui/src/router/axios.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/router/axios.js b/Source/plt-web/plt-web-ui/src/router/axios.js
index 64b38fe..7029b39 100644
--- a/Source/plt-web/plt-web-ui/src/router/axios.js
+++ b/Source/plt-web/plt-web-ui/src/router/axios.js
@@ -17,7 +17,7 @@
 import 'nprogress/nprogress.css';
 
 //榛樿瓒呮椂鏃堕棿
-axios.defaults.timeout = 10000;
+axios.defaults.timeout = 30000;
 //杩斿洖鍏朵粬鐘舵�佺爜
 axios.defaults.validateStatus = function (status) {
   return status >= 200 && status <= 500;
@@ -41,7 +41,7 @@
   const meta = (config.meta || {});
   const isToken = meta.isToken === false;
   if (getToken() && !isToken) {
-    config.headers[website.tokenHeader] = 'bearer ' + getToken()
+    config.headers[website.tokenHeader] =  getToken()
   }
   //headers涓厤缃畉ext璇锋眰
   if (config.text === true) {

--
Gitblit v1.9.3