From 04b5222fcf0c8f24b3a577cf3a05fb57462982a5 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 11 八月 2020 09:18:27 +0800
Subject: [PATCH] 2020-08-11

---
 src/views/login/index.jsx |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/src/views/login/index.jsx b/src/views/login/index.jsx
index d72c7b0..8b029a1 100644
--- a/src/views/login/index.jsx
+++ b/src/views/login/index.jsx
@@ -222,7 +222,17 @@
           this.setState({touristLogin: true})
         }
 
-        Api.getSystemStyle().then(res => {
+        // 鑾峰彇绯荤粺淇℃伅
+        let _param = {
+          func: 's_Get_style',
+          TypeCharOne: 'PC',
+          LText: `select '${window.GLOB.appkey}'`,
+        }
+
+        _param.timestamp = moment().format('YYYY-MM-DD HH:mm:ss') + '.000'
+        _param.secretkey = Utils.encrypt(_param.LText, _param.timestamp)
+
+        Api.getSystemConfig(_param).then(res => {
           if (res.status) {
             let _url = window.location.href.split('#')[0] + 'system'
             let systemMsg = {

--
Gitblit v1.8.0