king
2024-09-12 d1af439bb8702cf5099324d6fba8cac952fa5d64
src/api/index.js
@@ -733,6 +733,12 @@
        }
      }
      if (param.$type) {
        url += '/' + param.$type
      }
      delete param.$type
      param = this.encryptParam(param)
      return new Promise((resolve) => {
@@ -751,7 +757,7 @@
            res.ErrCode = '-2'
            MKEmitter.emit('reloadTabs')
          }
          if (res.status) {
          if (res.status && id) {
            window.GLOB.CacheMap.set(id, res)
          }
          resolve(res)
@@ -1038,6 +1044,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' : ''