king
2020-03-30 461e4fff4b51d067671244eec63b097cd9012b6e
src/views/login/index.jsx
@@ -95,13 +95,14 @@
    let timeStamp = new Date().getTime()
    let _appId = window.GLOB.appId
    if (options.systemType === 'Cloud') { // 云端使用系统配置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) {
      if (res.status) {
        if (res.EPC === str) {
        let box = []
        for (let i = 0; i < 15; i++) {
          let s = 'mksoft' + moment().add(i, 'days').format('YYYYMMDD')
@@ -119,6 +120,7 @@
          auth: false
        })
      }
      }
    })
    let authCode = localStorage.getItem('AuthCode')