|
@@ -487,6 +487,7 @@ export default {
|
|
|
this.orderno = option.orderno;
|
|
|
this.id = option.id;
|
|
|
this.init();
|
|
|
+ // debugger;
|
|
|
this.createParkOrder();
|
|
|
console.log('created', this.parkInfo);
|
|
|
// if (uni.getStorageSync('isReload') === '3') {
|
|
@@ -502,7 +503,7 @@ export default {
|
|
|
console.log('activated', uni.getStorageSync('isReload'));
|
|
|
const platform = getPlatform();
|
|
|
if (platform === 'micromessenger') {
|
|
|
- await initWxJsSdkConfig(['chooseWXPay', 'scanQRCode']);
|
|
|
+ // await initWxJsSdkConfig(['chooseWXPay', 'scanQRCode']);
|
|
|
try {
|
|
|
// if (window.wxJsSdkConfigInitPromise) {
|
|
|
// // console.log(window.wxJsSdkConfigInitPromise);
|
|
@@ -605,7 +606,7 @@ export default {
|
|
|
},
|
|
|
|
|
|
// 创建订单
|
|
|
- async createParkOrder({ groupId, mallId, type }) {
|
|
|
+ async createParkOrder() {
|
|
|
// console.log(603);
|
|
|
// debugger;
|
|
|
try {
|
|
@@ -626,7 +627,7 @@ export default {
|
|
|
};
|
|
|
if (getIsWxh5()) {
|
|
|
// 如果是微信公众号环境
|
|
|
- const { projectId } = getAppIdByGroupIdAndMallId({
|
|
|
+ const { projectId, appId } = getAppIdByGroupIdAndMallId({
|
|
|
groupId: uni.getStorageSync('groupId'),
|
|
|
mallId: uni.getStorageSync('mallId'),
|
|
|
type: 'all',
|