import { http } from './http';
/**
 * 请求接口获取菜单下按钮（接口）权限
 * @param {array} ids 
 */

export var getMenuAuth = function getMenuAuth(ids) {
  if (ids === void 0) {
    ids = [];
  }

  return http('auth.menu.resources.userPermissionCode', 10132, {
    ids: ids
  });
};
/**
 * 请求接口获取数据字典
 * @param {array} codes 
 */

export var getLookup = function getLookup(codes) {
  if (codes === void 0) {
    codes = [];
  }

  return http('system.lookupValue.BatchByCode', 10124, {
    codes: codes
  });
};