From b786fa52322e1192652ff44a41c39bfed9738006 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 01 二月 2020 16:34:26 +0800 Subject: [PATCH] 2020-02-01 --- src/views/login/index.jsx | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/views/login/index.jsx b/src/views/login/index.jsx index 7e86c78..004eb56 100644 --- a/src/views/login/index.jsx +++ b/src/views/login/index.jsx @@ -99,8 +99,14 @@ componentDidMount () { let timeStamp = new Date().getTime() - let str = md5('MK19' + options.AppId + timeStamp) - Api.systemauth(options.AppId, timeStamp).then(res => { + let _appId = window.GLOB.appId + + if (options.systemType === 'Cloud') { // 浜戠浣跨敤绯荤粺閰嶇疆appid + _appId = options.AppId + } + + let str = md5('MK19' + _appId + timeStamp) + Api.systemauth(_appId, timeStamp).then(res => { if (res.status && res.EPC === str) { let box = [] for (let i = 0; i < 15; i++) { -- Gitblit v1.8.0