king
2022-09-16 66cc7818cf5e13c44f4372e7d47fb72df7d2f752
src/views/interface/history/index.jsx
@@ -195,18 +195,12 @@
  }
  uselogon = () => {
    let baseurl = ''
    if (process.env.NODE_ENV === 'production') {
      baseurl = document.location.origin + '/' + window.GLOB.service
    } else {
      baseurl = window.GLOB.location + '/' + window.GLOB.service
    }
    let m = {
      active: 'raw',
      createDate: '',
      formData: [],
      headers: [],
      interface: baseurl + 'webapi/logon',
      interface: window.GLOB.baseurl + 'webapi/logon',
      method: 'POST',
      params: [],
      raw: "{\n \"UserName\":\"******\",\n \"Password\":\"******\",\n \"systemType\":\"local\",\n \"Type\":\"公钥\",\n \"privatekey\":\"私钥\",\n \"timestamp\":\"" + moment().format('YYYY-MM-DD HH:mm:ss') + "\",\n \"appkey\":\"" + window.GLOB.appkey + "\"\n}",
@@ -216,18 +210,12 @@
  }
  usedostars = () => {
    let baseurl = ''
    if (process.env.NODE_ENV === 'production') {
      baseurl = document.location.origin + '/' + window.GLOB.service
    } else {
      baseurl = window.GLOB.location + '/' + window.GLOB.service
    }
    let m = {
      active: 'raw',
      createDate: '',
      formData: [],
      headers: [],
      interface: baseurl + 'webapi/dostars',
      interface: window.GLOB.baseurl + 'webapi/dostars',
      method: 'POST',
      params: [],
      raw: "{\n \"func\":\"******\",\n \"LoginUID\":\"******\",\n \"UserID\":\"******\",\n \"nonc\":\"" + Utils.getguid() + "\",\n \"t\":" + parseInt(new Date().getTime() / 1000) + "\n}",