import { WeaTools } from 'ecCom';

// 获取 API
// const getapi = (params) =>  WeaTools.callApi('/api/ec/dev/help/getapi', 'GET', params);
// const getmarkdown = (params) =>  WeaTools.callApi('/api/ec/dev/help/getmarkdown', 'GET', params);
const getapijson = params => WeaTools.callApi('/api/ec/dev/help/getapijson', 'GET', params);
// const getmarkdown_mk = (params) =>  WeaTools.callApi('/api/ec/dev/help/getmarkdown_mk', 'GET', params);
// const setmarkdown = (params) =>  WeaTools.callApi('/api/ec/dev/help/setmarkdown', '', params);

const getTreeData = params => WeaTools.callApi('/api/ec/dev/help/getTreeData', 'GET', params);


export {
  // getapi,
  // getmarkdown,
  getapijson,
  // getmarkdown_mk,
  // setmarkdown,
  getTreeData,
};
