lushuncheng 5 years ago
parent
commit
335a9f0968
1 changed files with 18 additions and 18 deletions
  1. 18 18
      components/type/vip/mobile.vue

+ 18 - 18
components/type/vip/mobile.vue

@@ -311,24 +311,24 @@ export default {
         number: number,
         product_id: item.id,
       };
-      if (this.deviceType === "ios") {
-        // alert('ios begin pay..');
-        let cookie = this.getSign();
-        let res = await this.$axios.$post("/api/vip/pay", {
-          product_type: 11,
-          number: number,
-          product_id: item.id,
-          channel: "apple",
-          needLogin: true,
-          ...cookie,
-        });
-        if (res && res.data) {
-          query = Object.assign({}, query, res.data);
-          location.href = "proginn://pay?" + qs.stringify(query);
-        }
-      } else {
-        location.href = "proginn://pay?" + qs.stringify(query);
-      }
+      // if (this.deviceType === "ios") {
+      //   // alert('ios begin pay..');
+      //   let cookie = this.getSign();
+      //   let res = await this.$axios.$post("/api/vip/pay", {
+      //     product_type: 11,
+      //     number: number,
+      //     product_id: item.id,
+      //     channel: "apple",
+      //     needLogin: true,
+      //     ...cookie
+      //   });
+      //   if (res && res.data) {
+      //     query = Object.assign({}, query, res.data);
+      //     location.href = "proginn://pay?" + qs.stringify(query);
+      //   }
+      // } else {
+      location.href = "proginn://pay?" + qs.stringify(query);
+      // }
     },
     /**
      * 手指右划