config.js 398 Bytes
import http from '@/libs/fetch'
import { APP } from '@/config'

export const getbaseConfig = () => {
    return http.request({
        url: APP.GET_PALTFORM_CONFIG_URL + 'api/platform/getConfig',
        method: 'get'
    })
}


export const getAppSite = appCode => {
    return http.request({
        url: APP.GET_PALTFORM_CONFIG_URL + 'api/app/version/' + appCode,
        method: 'get'
    })
}