You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
// const host='https://xinfan.x-embers.com/api'
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 测试域名
|
|
|
|
* */
|
|
|
|
const devhost='http://192.168.10.51:8888/'
|
|
|
|
// const devhost='http://192.168.10.126:8889/'
|
|
|
|
// const host='http://192.168.1.5:9503/api'
|
|
|
|
/**
|
|
|
|
* 正式域名
|
|
|
|
* */
|
|
|
|
const prohost='http://192.168.10.100:9999/'
|
|
|
|
/**
|
|
|
|
* 图片域名
|
|
|
|
* */
|
|
|
|
const imghost=''
|
|
|
|
/**
|
|
|
|
* API域名
|
|
|
|
* */
|
|
|
|
const host=process.env.NODE_ENV === 'development'?devhost:prohost
|
|
|
|
// const host='http://192.168.2.97:8888/'
|
|
|
|
/**
|
|
|
|
* APP加密参数
|
|
|
|
* */
|
|
|
|
const APPKEY='h5u:h5u_secret'
|
|
|
|
|
|
|
|
export { host , imghost , APPKEY }
|