zhengjinyi 5 éve
szülő
commit
291ecc56c3
2 módosított fájl, 4 hozzáadás és 4 törlés
  1. 2 2
      common/config/config.js
  2. 2 2
      pages/user/order/order-pay.vue

+ 2 - 2
common/config/config.js

@@ -1,9 +1,9 @@
 let URL_CONFIG = ""
 if(process.env.NODE_ENV === 'development'){
     // 开发环境
-	URL_CONFIG = 'http://192.168.1.22:8008'	 //裴裴联调地址
+	// URL_CONFIG = 'http://192.168.1.22:8008'	 //裴裴联调地址
 	// URL_CONFIG = 'https://spi.caimei365.com'	 //超超联调地址
-    // URL_CONFIG = 'https://spi-b.caimei365.com'//采美测试地址
+    URL_CONFIG = 'https://spi-b.caimei365.com'//采美测试地址
 }else{
     // 生产环境
     URL_CONFIG = 'https://spi.caimei365.com'

+ 2 - 2
pages/user/order/order-pay.vue

@@ -190,10 +190,10 @@
 							'paySign': PayInfo.paySign,
 							'success':function(res){
 								console.log('支付成功');
-								this.$api.redirectTo('/pages/user/order/order-details?orderID='+this.orderID)
+								self.$api.redirectTo('/pages/user/order/order-details?orderID='+this.orderID)
 							},
 							'fail':function(res){
-								self.$util.msg('支付失败')
+								self.$util.msg('订单支付已取消')
 							},
 							'complete':function(res){