mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 19:46:43 +08:00
1、修改生产环境接口地址;2、调试支付页
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user