king
2020-06-28 48a18736c461ad730bd264b0ac7b40b68a0e33a1
src/api/index.js
@@ -82,7 +82,7 @@
      // func: 'webapi_login',
      UserName: username,
      Password: password,
      systemType: options.systemType,
      systemType: options.sysType,
      Type: 'X'
    }
@@ -91,8 +91,8 @@
    if (isCloud) {
      param.debug = 'Y'
      if (options.cloudLoginApi) {
        param.rduri = options.cloudLoginApi
      if (options.cloudServiceApi) {
        param.rduri = options.cloudServiceApi.replace(/\/webapi(.*)/, '/webapi/dologon')
      }
    } else if (!isCloud && window.GLOB.mainSystemApi) {
      param.rduri = window.GLOB.mainSystemApi.replace(/\/webapi(.*)/, '/webapi/dologon')
@@ -143,7 +143,7 @@
    param.t = new Date().getTime()
    return axios({
      url: '/webapi/dostars',
      url: `/webapi/dostars${param.func ? '/' + param.func : ''}`,
      data: param
    })
  }
@@ -183,7 +183,7 @@
    param.t = new Date().getTime()
    return axios({
      url: '/webapi/dostars',
      url: `/webapi/dostars${param.func ? '/' + param.func : ''}`,
      data: param
    })
  }
@@ -214,7 +214,7 @@
    param.t = new Date().getTime()
    return axios({
      url: '/webapi/dostars',
      url: `/webapi/dostars${param.func ? '/' + param.func : ''}`,
      data: param
    })
  }
@@ -268,7 +268,7 @@
      return new Promise(resolve => {
        axios({
          url: '/webapi/dostars',
          url: `/webapi/dostars${param.func ? '/' + param.func : ''}`,
          data: param
        }).then(res => {
          if (res.status) {
@@ -312,7 +312,7 @@
    param.t = new Date().getTime()
    return axios({
      url: '/webapi/dostars',
      url: `/webapi/dostars${param.func ? '/' + param.func : ''}`,
      data: param
    })
  }
@@ -438,6 +438,16 @@
  }
  /**
   * @description 查询文件是否已上传
   */
  getFilePreUpload (param) {
    return axios({
      url: '/webapi/dopreload',
      data: param
    })
  }
  /**
   * @description 文件上传
   */
  getFileUpload (param) {