Quellcode durchsuchen

跳转支付授权登录

zhoujump vor 1 Monat
Ursprung
Commit
9ee41a187b
1 geänderte Dateien mit 16 neuen und 16 gelöschten Zeilen
  1. 16 16
      src/views/components/packetList.vue

+ 16 - 16
src/views/components/packetList.vue

@@ -75,33 +75,33 @@ export default Vue.extend({
           if (this.cycle === 'month') {
             this.renderInfo.STARTER.price = this.getPacketByPKey('EXPOREG_STARTER_MONTH_PACKAGE').price
             this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_STARTER' ? '升级权益' : '续费'
-            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_STARTER_MONTH_PACKAGE%26type=2'
+            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_STARTER_MONTH_PACKAGE%26type=2'
             this.renderInfo.PRO.price = this.getPacketByPKey('EXPOREG_PRO_MONTH_PACKAGE').price
             this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_PRO' ? '升级权益' : '续费'
-            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_PRO_MONTH_PACKAGE%26type=2'
+            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_PRO_MONTH_PACKAGE%26type=2'
           } else {
             this.renderInfo.STARTER.price = this.getPacketByPKey('EXPOREG_STARTER_YEAR_PACKAGE').price
             this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_STARTER' ? '升级权益' : '续费'
-            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_STARTER_YEAR_PACKAGE%26type=2'
+            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_STARTER_YEAR_PACKAGE%26type=2'
             this.renderInfo.PRO.price = this.getPacketByPKey('EXPOREG_PRO_YEAR_PACKAGE').price
             this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_PRO' ? '升级权益' : '续费'
-            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_PRO_YEAR_PACKAGE%26type=2'
+            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_PRO_YEAR_PACKAGE%26type=2'
           }
         } else {
           if (this.cycle === 'month') {
             this.renderInfo.STARTER.price = this.getPacktByKey('EXPOREG_STARTER_MONTH').price
             this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_STARTER' ? '立即订购' : '续费'
-            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_STARTER_MONTH%26packet_key=%26type=1'
+            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_STARTER_MONTH%26packet_key=%26type=1'
             this.renderInfo.PRO.price = this.getPacktByKey('EXPOREG_PRO_MONTH').price
             this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_PRO' ? '立即订购' : '续费'
-            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_PRO_MONTH%26packet_key=%26type=1'
+            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_PRO_MONTH%26packet_key=%26type=1'
           } else {
             this.renderInfo.STARTER.price = this.getPacktByKey('EXPOREG_STARTER_YEAR').price
             this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_STARTER' ? '立即订购' : '续费'
-            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_STARTER_YEAR%26packet_key=%26type=1'
+            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_STARTER_YEAR%26packet_key=%26type=1'
             this.renderInfo.PRO.price = this.getPacktByKey('EXPOREG_PRO_YEAR').price
             this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_PRO' ? '立即订购' : '续费'
-            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_PRO_YEAR%26packet_key=%26type=1'
+            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_PRO_YEAR%26packet_key=%26type=1'
           }
         }
       } else {
@@ -109,33 +109,33 @@ export default Vue.extend({
           if (this.cycle === 'month') {
             this.renderInfo.STARTER.price = this.getPacketByPKey('EXPOREG_INVITATION_STARTER_MONTH_PACKAGE').price
             this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_INVITATION_STARTER' ? '立即订购' : '续费'
-            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_INVITATION_STARTER_MONTH%26packet_key=%26type=1'
+            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_INVITATION_STARTER_MONTH%26packet_key=%26type=1'
             this.renderInfo.PRO.price = this.getPacketByPKey('EXPOREG_INVITATION_PRO_MONTH_PACKAGE').price
             this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_INVITATION_PRO' ? '立即订购' : '续费'
-            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_INVITATION_PRO_MONTH%26packet_key=%26type=1'
+            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_INVITATION_PRO_MONTH%26packet_key=%26type=1'
           } else {
             this.renderInfo.STARTER.price = this.getPacketByPKey('EXPOREG_INVITATION_STARTER_YEAR_PACKAGE').price
             this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_INVITATION_STARTER' ? '立即订购' : '续费'
-            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_INVITATION_STARTER_YEAR%26packet_key=%26type=1'
+            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_INVITATION_STARTER_YEAR%26packet_key=%26type=1'
             this.renderInfo.PRO.price = this.getPacketByPKey('EXPOREG_INVITATION_PRO_YEAR_PACKAGE').price
             this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_INVITATION_PRO' ? '立即订购' : '续费'
-            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_INVITATION_PRO_YEAR%26packet_key=%26type=1'
+            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=EXPOREG_INVITATION_PRO_YEAR%26packet_key=%26type=1'
           }
         } else {
           if (this.cycle === 'month') {
             this.renderInfo.STARTER.price = this.getPacktByKey('EXPOREG_INVITATION_STARTER_MONTH').price
             this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_INVITATION_STARTER' ? '升级权益' : '续费'
-            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_INVITATION_STARTER_MONTH_PACKAGE%26type=2'
+            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_INVITATION_STARTER_MONTH_PACKAGE%26type=2'
             this.renderInfo.PRO.price = this.getPacktByKey('EXPOREG_INVITATION_PRO_MONTH').price
             this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_INVITATION_PRO' ? '升级权益' : '续费'
-            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_INVITATION_PRO_MONTH_PACKAGE%26type=2'
+            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_INVITATION_PRO_MONTH_PACKAGE%26type=2'
           } else {
             this.renderInfo.STARTER.price = this.getPacktByKey('EXPOREG_INVITATION_STARTER_YEAR').price
             this.renderInfo.STARTER.button = FullBasePacket !== 'EXPOREG_INVITATION_STARTER' ? '升级权益' : '续费'
-            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_INVITATION_STARTER_YEAR_PACKAGE%26type=2'
+            this.renderInfo.STARTER.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_INVITATION_STARTER_YEAR_PACKAGE%26type=2'
             this.renderInfo.PRO.price = this.getPacktByKey('EXPOREG_INVITATION_PRO_YEAR').price
             this.renderInfo.PRO.button = FullBasePacket !== 'EXPOREG_INVITATION_PRO' ? '升级权益' : '续费'
-            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + this.user.sysApiToken + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_INVITATION_PRO_YEAR_PACKAGE%26type=2'
+            this.renderInfo.PRO.url = this.payCenterUrl + '/third-part-login?token=' + encodeURIComponent(this.user.sysApiToken) + '&lang=zh-cn&redirect=/packet/info?app_code=EXPOREG%26key=%26packet_key=EXPOREG_INVITATION_PRO_YEAR_PACKAGE%26type=2'
           }
         }
       }