vue中生产环境和开发环境判断
const urlDev = 'http://dev.womaoapp.com'const urlQa = 'http://qa.oss.womaoapp.com'var url = ''process.env.NODE_ENV === 'development' ? url = urlDev : url = urlQaconst excelUrl = url + '/fwas.message.a
·
const
urlDev =
'http://dev.womaoapp.com'
const
urlQa =
'http://qa.oss.womaoapp.com'
var
url =
''
process.
env.
NODE_ENV ===
'development' ?
url =
urlDev :
url =
urlQa
const
excelUrl =
url +
'/fwas.message.admin/sys/fileDown/excel?channelType=1'
// 我茂消息发送--获取excel示例
export {
excelUrl }
更多推荐
已为社区贡献12条内容
所有评论(0)