king
2024-10-07 a26f13ee999e84fc49cc3545e6e5d3daf9c6c41f
src/api/index.js
@@ -698,6 +698,12 @@
        }
      }
      if (param.$type) {
        url += '/' + param.$type
      }
      delete param.$type
      param = this.encryptParam(param)
      return new Promise((resolve) => {
@@ -716,7 +722,7 @@
            res.ErrCode = '-2'
            MKEmitter.emit('reloadTabs')
          }
          if (res.status) {
          if (res.status && id) {
            window.GLOB.CacheMap.set(id, res)
          }
          resolve(res)
@@ -1003,6 +1009,12 @@
        }
      }
      if (param.$type) {
        url += '/' + param.$type
      }
      delete param.$type
      param.username = sessionStorage.getItem('User_Name') || ''
      param.fullname = sessionStorage.getItem('Full_Name') || ''
      param.s_debug = window.GLOB.debugger ? 'Y' : ''
@@ -1053,8 +1065,6 @@
   * @description 清空后端缓存
   */
  cacheInterface (param) {
    param.userid = sessionStorage.getItem('UserID') || ''
    param.LoginUID = sessionStorage.getItem('LoginUID') || ''
    param.appkey = window.GLOB.appkey || ''
    let url = '/webapi/excache'