Files
ebiz-h5/src/config/urlMap.js
2020-04-15 21:59:10 +08:00

25 lines
718 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/**
* @desc 远程接口地址和本地mock地址映射表
* key接口地址
* value本地地址
*/
import proposal from './proposal'
import sale from './sale'
import customer from './customer'
import my from './my'
import product from './product'
import serve from './serve'
import common from './common'
import survey from './survey'
import preserve from './preserve'
const mockBaseUrl = 'http://rap2api.taobao.org/app/mock'
let baseObj = {
'/user/login': mockBaseUrl + '/223948/login',
'/user/info': mockBaseUrl + '/223948/info',
'/user/logout': mockBaseUrl + '/223948/logout'
}
Object.assign(baseObj, proposal, sale, customer, my, product, serve, common, survey, preserve)
export default baseObj