index.js 514 Bytes
import api from "../index";
import urls from "./urls";

export default {
  //登陆
  login(params, id) {
    return api.post(urls.login, params);
  },
  getMenus(params, id) {
    return api.get(urls.menus, params);
  },
  algocombs(params, id) {
    return api.get(urls.algocombs, params);
  },
  storeconfs(params, id) {
    return api.get(urls.storeconfs, params);
  },
  ddlogout:(params) => {
    return api.post(urls.ddout,params)
  },
  ddlogin:(params) => {
    return api.get(urls.ddlogin,params)
  }
};