import * as Mock from 'mockjs';

let hostname = window.location.hostname
export const SERVER_API_URL = hostname === 'localhost' ? '/shfrdj' : 'http://61.152.117.206/shfrdj';
// export const SERVER_API_URL = 'http://61.152.117.206/shfrdj';

export const SERVER_API_WEB = hostname === 'localhost' ? '/shfrdjweb' : 'http://61.152.117.206/';
// export const SERVER_API_WEB = 'http://61.152.117.206/';

// export const SERVER_API_BBWX = '/bbwx';
export const SERVER_API_BBWX = 'https://www.cesdj.cn/bbwx';


Mock.setup(
    {
        timeout: 50,
    }
);

export const institutionalNature = [
    {label: '挂牌机构', value: '8'},
    {label: '内设机构', value: '7'},
    {label: '派驻机关', value: '6'},
    {label: '派出机构', value: '5'},
    {label: '分支机构', value: '4'},
    {label: '临时机构', value: '3'},
    {label: '议事协调机构', value: '2'},
    {label: '挂靠机构', value: '1'},
]
