api.js 308 Bytes
module.exports = {
  testListGet: '/xxx/xxx/list',
  exportTable: exportTable,
}

function exportTable(params) {
  let url = 'https://api.k.wxpai.cn/awp/plugins/export/' + params.func + '?id=' + params.appId + '&key=' + params.appKey + '&val=' + params.data;
  console.log("url:", url);
  window.open(url)
}