소스 검색

commit -m

zhengjinyi 3 년 전
부모
커밋
763ee8835a
4개의 변경된 파일5개의 추가작업 그리고 5개의 파일을 삭제
  1. 1 1
      pages/user/member/member-pay.vue
  2. 1 1
      pages/user/order/order-details.vue
  3. 1 1
      pages/user/order/order-list.vue
  4. 2 2
      services/config.env.js

+ 1 - 1
pages/user/member/member-pay.vue

@@ -169,7 +169,7 @@ export default {
 			this.payParams.code = await authorize.getCode('weixin')
 			this.PayService.PayOrderVipWechat(this.payParams)
 				.then(response => {
-					let PayInfo = JSON.parse(response.data.data.payInfo)
+					let PayInfo = JSON.parse(response.data.rt10_payInfo)
 					this.WxRequestPayment(PayInfo)
 				})
 				.catch(error => {

+ 1 - 1
pages/user/order/order-details.vue

@@ -340,7 +340,7 @@ export default {
 							`/pages/user/order/success?type=deduction&data=${JSON.stringify({ data: _data })}`
 						)
 					} else {
-						if (data.order.onlinePayFlag === '1') {
+						if (data.order.onlinePayFlag === 1) {
 							this.$api.navigateTo(
 								`/pages/user/order/order-payment?type=onlinePay&Amount=${
 									data.order.pendingPayments

+ 1 - 1
pages/user/order/order-list.vue

@@ -562,7 +562,7 @@ export default {
 							`/pages/user/order/success?type=deduction&data=${JSON.stringify({ data: _data })}`
 						)
 					} else {
-						if (data.order.onlinePayFlag === '1') {
+						if (data.order.onlinePayFlag === 1) {
 							this.$api.navigateTo(
 								`/pages/user/order/order-payment?type=onlinePay&Amount=${
 									data.order.pendingPayments

+ 2 - 2
services/config.env.js

@@ -1,10 +1,10 @@
 let URL_CONFIG = ''
 if(process.env.NODE_ENV === 'development'){
     // 开发环境
-    URL_CONFIG = 'http://192.168.2.67:18002'	 //智捷联调地址
+    // URL_CONFIG = 'http://192.168.2.67:18002'	 //智捷联调地址
     // URL_CONFIG = 'http://192.168.2.68:18002'	 //涛涛联调地址
     // URL_CONFIG = 'http://192.168.2.75:18002'	 //超超联调地址
-    // URL_CONFIG = 'https://core-b.caimei365.com'
+    URL_CONFIG = 'https://core-b.caimei365.com'
     // URL_CONFIG = 'https://core.caimei365.com'
 }else{
     // 生产环境