|
|
@ -72,17 +72,17 @@ |
|
|
|
// #ifdef MP |
|
|
|
// #ifdef MP |
|
|
|
let accountInfo = uni.getAccountInfoSync(); |
|
|
|
let accountInfo = uni.getAccountInfoSync(); |
|
|
|
|
|
|
|
|
|
|
|
// if (accountInfo.miniProgram.envVersion == 'develop' || accountInfo.miniProgram.envVersion == 'trial') { |
|
|
|
if (accountInfo.miniProgram.envVersion == 'develop' || accountInfo.miniProgram.envVersion == 'trial') { |
|
|
|
// this.globalData.url = 'https://hsgcs.dctpay.com/crest'; |
|
|
|
this.globalData.url = 'https://hsgcs.dctpay.com/crest'; |
|
|
|
// this.globalData.v1url = 'https://hsgcs.dctpay.com/v1'; |
|
|
|
this.globalData.v1url = 'https://hsgcs.dctpay.com/v1'; |
|
|
|
// this.globalData.orderurl = 'https://hsgcs.dctpay.com/order'; |
|
|
|
this.globalData.orderurl = 'https://hsgcs.dctpay.com/order'; |
|
|
|
// this.globalData.userurl = 'https://hsgcs.dctpay.com/user'; |
|
|
|
this.globalData.userurl = 'https://hsgcs.dctpay.com/user'; |
|
|
|
// this.globalData.brestUrl = 'https://hsgcs.dctpay.com/brest'; |
|
|
|
this.globalData.brestUrl = 'https://hsgcs.dctpay.com/brest'; |
|
|
|
// this.globalData.imgUrl = 'https://hsgcs.dctpay.com/filesystem/'; |
|
|
|
this.globalData.imgUrl = 'https://hsgcs.dctpay.com/filesystem/'; |
|
|
|
// this.globalData.imageWxImg = 'https://hsgcs.dctpay.com/filesystem/wxApplets/'; |
|
|
|
this.globalData.imageWxImg = 'https://hsgcs.dctpay.com/filesystem/wxApplets/'; |
|
|
|
// this.globalData.imageqrImg = 'https://hsgcs.dctpay.com/filesystem/temporary/'; |
|
|
|
this.globalData.imageqrImg = 'https://hsgcs.dctpay.com/filesystem/temporary/'; |
|
|
|
// } |
|
|
|
} |
|
|
|
if (accountInfo.miniProgram.envVersion == 'develop') { |
|
|
|
if (accountInfo.miniProgram.envVersion == 'release') { |
|
|
|
this.globalData.url = 'https://hsg.dctpay.com/crest'; |
|
|
|
this.globalData.url = 'https://hsg.dctpay.com/crest'; |
|
|
|
this.globalData.v1url = 'https://hsg.dctpay.com/v1'; |
|
|
|
this.globalData.v1url = 'https://hsg.dctpay.com/v1'; |
|
|
|
this.globalData.orderurl = 'https://hsg.dctpay.com/order'; |
|
|
|
this.globalData.orderurl = 'https://hsg.dctpay.com/order'; |
|
|
@ -95,23 +95,23 @@ |
|
|
|
// #endif |
|
|
|
// #endif |
|
|
|
// #ifdef H5 |
|
|
|
// #ifdef H5 |
|
|
|
let that = this; |
|
|
|
let that = this; |
|
|
|
that.globalData.url = 'https://hsgcs.dctpay.com/crest'; |
|
|
|
// that.globalData.url = 'https://hsgcs.dctpay.com/crest'; |
|
|
|
that.globalData.v1url = 'https://hsgcs.dctpay.com/v1'; |
|
|
|
// that.globalData.v1url = 'https://hsgcs.dctpay.com/v1'; |
|
|
|
that.globalData.orderurl = 'https://hsgcs.dctpay.com/order'; |
|
|
|
// that.globalData.orderurl = 'https://hsgcs.dctpay.com/order'; |
|
|
|
that.globalData.userurl = 'https://hsgcs.dctpay.com/user'; |
|
|
|
// that.globalData.userurl = 'https://hsgcs.dctpay.com/user'; |
|
|
|
that.globalData.brestUrl = 'https://hsgcs.dctpay.com/brest'; |
|
|
|
// that.globalData.brestUrl = 'https://hsgcs.dctpay.com/brest'; |
|
|
|
that.globalData.imgUrl = 'https://hsgcs.dctpay.com/filesystem/'; |
|
|
|
// that.globalData.imgUrl = 'https://hsgcs.dctpay.com/filesystem/'; |
|
|
|
that.globalData.imageWxImg = 'https://hsgcs.dctpay.com/filesystem/wxApplets/'; |
|
|
|
// that.globalData.imageWxImg = 'https://hsgcs.dctpay.com/filesystem/wxApplets/'; |
|
|
|
that.globalData.imageqrImg = 'https://hsgcs.dctpay.com/filesystem/temporary/'; |
|
|
|
// that.globalData.imageqrImg = 'https://hsgcs.dctpay.com/filesystem/temporary/'; |
|
|
|
|
|
|
|
|
|
|
|
// that.globalData.url = 'https://hsg.dctpay.com/crest'; |
|
|
|
that.globalData.url = 'https://hsg.dctpay.com/crest'; |
|
|
|
// that.globalData.v1url = 'https://hsg.dctpay.com/v1'; |
|
|
|
that.globalData.v1url = 'https://hsg.dctpay.com/v1'; |
|
|
|
// that.globalData.orderurl = 'https://hsg.dctpay.com/order'; |
|
|
|
that.globalData.orderurl = 'https://hsg.dctpay.com/order'; |
|
|
|
// that.globalData.userurl = 'https://hsg.dctpay.com/user'; |
|
|
|
that.globalData.userurl = 'https://hsg.dctpay.com/user'; |
|
|
|
// that.globalData.brestUrl = 'https://hsg.dctpay.com/brest'; |
|
|
|
that.globalData.brestUrl = 'https://hsg.dctpay.com/brest'; |
|
|
|
// that.globalData.imgUrl = 'https://hsg.dctpay.com/filesystem/'; |
|
|
|
that.globalData.imgUrl = 'https://hsg.dctpay.com/filesystem/'; |
|
|
|
// that.globalData.imageWxImg = 'https://hsg.dctpay.com/filesystem/wxApplets/'; |
|
|
|
that.globalData.imageWxImg = 'https://hsg.dctpay.com/filesystem/wxApplets/'; |
|
|
|
// that.globalData.imageqrImg = 'https://hsg.dctpay.com/filesystem/temporary/'; |
|
|
|
that.globalData.imageqrImg = 'https://hsg.dctpay.com/filesystem/temporary/'; |
|
|
|
uni.getStorage({ |
|
|
|
uni.getStorage({ |
|
|
|
key: 'openId', |
|
|
|
key: 'openId', |
|
|
|
success(e) { |
|
|
|
success(e) { |
|
|
|