/**
 * Created by geweimin on 17/7/19.
 */
import { getBizLayoutConfig } from '../index';

const layoutWrapper = layoutType => {
  // let finalDomainLink = domainLink[0] === '/' ? domainLink : '/' + domainLink;
  // finalDomainLink = convertTemplate(finalDomainLink);
  // if (query && query.other) {
  //   finalDomainLink += '/' + query.other;
  // }
  return getBizLayoutConfig() && getBizLayoutConfig()[layoutType];
};

export default layoutWrapper;
