|
@@ -1633,7 +1633,7 @@ export default {
|
|
|
openId: openId,
|
|
|
vipcode: this.member?.vipcode || uni.getStorageSync('member')?.vipcode,
|
|
|
createuser: 'sys_miniprogram',
|
|
|
- orderno: this.parkInfo.orderno || '7719219221312412c21v3218u',
|
|
|
+ orderno: this.parkInfo.orderno,
|
|
|
bonusfee: this.bonusfee * 100,
|
|
|
bonus: bonus,
|
|
|
couponfee: this.couponInfo.couponfee * 100 || 0,
|
|
@@ -1824,12 +1824,16 @@ export default {
|
|
|
// });
|
|
|
// return
|
|
|
console.log(1782, 1782, 1782, session, payParams);
|
|
|
+ let appId = 'wx907c27f16841a919'
|
|
|
// const openId = MemberCacheTool.getOpenId(app);
|
|
|
// const appId = uni.getAccountInfoSync().miniProgram.appId;
|
|
|
// const appId = 'wx192b7d2e8dcbefd0';
|
|
|
- const appId = 'wx92c3e55fbef6b2af';
|
|
|
+ // const appId = 'wx907c27f16841a919';
|
|
|
// const appId = 'wxd830fe4d1e04988e';
|
|
|
// const appId = 'wx92c3e55fbef6b2af';
|
|
|
+ if ( platform === 'miniprogram' ) {
|
|
|
+ appId = 'wx92c3e55fbef6b2af'
|
|
|
+ }
|
|
|
const params = {
|
|
|
region: 'cn',
|
|
|
payChannel: 'MINI_PROGRAM',
|
|
@@ -1843,7 +1847,7 @@ export default {
|
|
|
// this.$kipPaymentUrl + 'services/session/' + session + '/transactions';
|
|
|
// https://qa-payment.kerryplus.com/services/session/7c6a199a-fbcb-48b0-a9c1-b325c2c9bf88/transactions
|
|
|
// let path = 'kipPaymentUrl/services/session/' + session + '/transactions';
|
|
|
- let path = `${window.injectConfig.qaPayment}/c/api/payment/v1/services/session/${session}/transactions`;
|
|
|
+ let path = `${window.injectConfig.profileApi}/payment/v1/services/session/${session}/transactions`;
|
|
|
this.$request({
|
|
|
// url: 'https://qa-payment.kerryplus.com/' + `services/session/${session}/transactions`,
|
|
|
url: path,
|