panhui 4 жил өмнө
parent
commit
57a485b44e

+ 7 - 5
src/main/nine-space/src/views/Submit.vue

@@ -211,11 +211,13 @@ export default {
                                         path.resolve(this.$baseUrl, '/payOrder/alipay_wx?id=' + res.id)
                                     );
                                 } else {
-                                    this.$http.get(`/payOrder/${this.inApp ? 'alipay_app' : 'alipay_h5'}`).then(res => {
-                                        document.location.replace(
-                                            'alipays://platformapi/startapp?saId=10000007&qrcode=' + res
-                                        );
-                                    });
+                                    this.$http
+                                        .get(`/payOrder/${this.inApp ? 'alipay_app' : 'alipay_h5'}?id=${res.id}`)
+                                        .then(res => {
+                                            document.location.replace(
+                                                'alipays://platformapi/startapp?saId=10000007&qrcode=' + res
+                                            );
+                                        });
                                 }
                             } else if (this.payType === 'WEIXIN') {
                                 if (this.inWeixin) {