vehicle.js 744 Bytes
// const url = 'http://192.168.2.42:8064/rop-scrm-entmicro/router'
const url = '/rop-scrm-carlife/router'

export default {
    /** 获取车品牌列表 */
    getCarBrandList(data = {}) {
        data.method = 'scrm.api.carlife.common.getOnlyCarBrandList'
        return window.$HTTP({
            url,
            data
        })
    },
    /** 获取车系列表 */
    getCarSeriesList(data) {
        data.method = 'scrm.api.carlife.common.getCarSeriesList'
        return window.$HTTP({
            url,
            data
        })
    },
    /** 获取车型 */
    getCarTypeList(data) {
        data.method = 'scrm.api.carlife.common.getCarTypeList'
        return window.$HTTP({
            url,
            data
        })
    },
}