1、修改生产环境接口地址;2、调试支付页

This commit is contained in:
pang.lizong
2019-09-30 03:18:05 +08:00
parent e1a6c89e02
commit b608b61f3e
2 changed files with 7 additions and 29 deletions

View File

@@ -14,7 +14,8 @@ switch (process.env.VUE_APP_FLAG) {
case 'development':
// apiDomain = 'http://47.96.143.111:7000/api/v1'
apiDomain = 'http://139.199.50.151:7000/api/v1' // 国富api
imgDomain = 'http://10.10.100.98:7012/updown'
imgDomain = 'http://10.10.100.98:7012/updown' // dev
// 静态服务资源
assetsUrl = 'http://139.199.50.151:8000/app/'
mainUrl = 'http://47.96.143.111'
@@ -30,10 +31,12 @@ switch (process.env.VUE_APP_FLAG) {
break
case 'production':
apiDomain = 'https://iagentsales.e-guofu.com/api/v1'
imgDomain = 'http://211.159.248.138:7002/updown'
imgDomain = 'https://iagentsales-ud.e-guofu.com:8553/updown'
// imgDomain = 'http://10.10.100.98:7012/updown' // 上生产前
// 静态服务资源
assetsUrl = 'http://211.159.248.138:7001/'
mainUrl = ''
// assetsUrl = 'http://211.159.248.138:7001/' // 上生产前
assetsUrl = 'https://iagentsales-sr.e-guofu.com:8443/'
mainUrl = 'http://47.96.143.111'
payUrl = 'https://uns3.e-guofu.com/s3-modules-gateway/embed/gateway.action'
break
}

View File

@@ -214,31 +214,6 @@ export default {
})
},
// 获取支付信息
underWrite() {
let data = {
platform: 'app',
type: '1',
orderDTO: {
orderInfoDTO: {
orderNo: window.localStorage.getItem('orderNo')
}
}
}
},
// 取消支付
cancel() {
this.$jump({
flag: 'h5',
extra: {
url: location.origin + '/#/sale/list',
backToFirst: '1'
},
routerInfo: {
path: '/sale/list'
}
})
},
// 获取支付信息
underWrite() {
let data = {
platform: 'app',