const outUrl:string = '/center-home';
const appUrl:string = '/center-home';
const Api:string = '/api';
const inapp:boolean = false;//内网true;外网false
const baseUrl = inapp?appUrl:outUrl;

export default {
    baseUrl:baseUrl,
    BaseURL: baseUrl,
    inapp:inapp,
    headerstring:'Basic ZGVtb3Rlc3Q6ZGVtb3Rlc3Q=',
    page:{
        index:`${baseUrl}/menu/index`,
        indexpage:'/menu/index',
        loginpage: inapp?'/api/auth/login':`${baseUrl}/view/login`,
        workpage:'/view/task',
        jdbc:'/view/jdbcmanage',
        homeIndex: `${baseUrl}/view`,
        roleTree: `${baseUrl}/view/roleTree`,
        rolemanage: `${baseUrl}/view/rolemanage`,
        metadetail:`${baseUrl}/metadetail`,
        metadotheretail:`${baseUrl}/staticmeta/detail`,
        standardmanage:`${baseUrl}/menu/datastandard`,
        indecatormanage:`${baseUrl}/menu/dataindicator`,
        taggermanage:`${baseUrl}/menu/datatagger`,
        relationpage:`${baseUrl}/menu/sourcemap`,
        catalogpage:`${baseUrl}/menu/domain`,
        systempage:`${baseUrl}/menu/datasys`,
        questionpage:`${baseUrl}/menu/myquestion`,
        modelpage:`${baseUrl}/menu/data-model`,
        noticepage:`${baseUrl}/menu/systemnotice`,
        assertspage:`${baseUrl}/menu/asset-1104-manage`,
        assetssource:`${baseUrl}/menu/asset-resource-browse`,//资源
        asserts:`${baseUrl}/menu/asset-browse`,//资产,
        assetmap:`${baseUrl}/menu/asset-map`,
    },
    api:{
        houseinfo:`${Api}`,
        api:`${Api}`,
        standard:`${Api}/standard`,
        authservice:`${Api}/authservice`,
        singin: `${Api}/auth/signin`,
        signout: `${Api}/auth/signout`,
        users: `${Api}/authservice/users/:userId/domains`,
        sessionInfo: `${Api}/auth/sessionInfo`,
        userupdate: `${Api}/authservice/users/`,
        jdbcmanage: `${Api}/metadataharvester/rest/targetConfig/jdbc`,
        sysjdbcmanage: `${Api}/metadataharvester/rest/targetConfig/system/jdbc`,
        harveJdbcmanage: `${Api}/metadataharvester/rest/harvestingTarget/jdbc`,
        taskResult: `${Api}/metadataharvester/rest/taskResult`,
        task: `${Api}/metadataharvester/rest/task`,
        role: `${Api}/datacatalog/roleCtrl`,
        management: `${Api}/datacatalog/management`,
        domains: `${Api}/authservice/domains`,
        roleUser: `${Api}/authservice/roles`,
        usersRoles: `${Api}/authservice/users`,
        dataqualityapi: `${Api}/dataqualityapi`,
        dataq:`${Api}/dataq`,
        label: `${Api}/tagmanager`,
        metaRepo: `${Api}/metadatarepo`,
        metaHarvest:`${Api}/metadataharvester`,
        information: `${Api}/informationmanagement`,
        questionfeedback:`${Api}/questionfeedback`,
        fileCatalog: `${Api}/informationmanagement/rest/fileCatalog`,
        fileInformation: `${Api}/informationmanagement/rest/fileInformation`,
        dataInformation: `${Api}/informationmanagement/rest/dataInformation`,
        issuetrack: `${Api}/questionfeedback/rest/issuetrack`,
        questionInfo: `${Api}/questionfeedback/rest/questionInfo`,
        report: `${Api}/portal/report`,
        nodeRelation: `${Api}/metadatarepo/rest/nodeRelation`,
        interfaceLog:`${Api}/auditlogger/interfaceLogCtrl`,
        finder: `${Api}/finder`,
        asset:`${Api}/dataassetmanager`,
        metadataRelation: `${Api}/metadatarelation`,
        tagger: `${Api}/tagger`,
        customertag: `${Api}/customertag`,
        datamodeler: `${Api}/datamodeler`,
        indicatorrule:`${Api}/indicatorrule`,
        accesspolicymanager: `${Api}/accesspolicymanager`,
        dataquality: `${Api}/dataquality`,
        activiti:`${Api}/activiti`,
        dataculture:`${Api}/dataculture`,
        indicator:`${Api}/index`,
        dataservice:`${Api}/dataservice`,
        pdataservice:`${Api}/pdataservice`,
        sttagger:`${Api}/sttagger`,
        notice:`${Api}/notice`,
        workorder:`${Api}/governworkorder`
    }
}

export const colors = {
    primary: '#ffbc0c',
    secondary: '#db0007'
}