소스 검색

improve: 支付宝支付

From-wh 2 년 전
부모
커밋
f25d936c4d
2개의 변경된 파일717개의 추가작업 그리고 728개의 파일을 삭제
  1. 5 11
      template/uni-app/pages/goods/cashier/index.vue
  2. 712 717
      template/uni-app/pages/users/user_payment/index.vue

+ 5 - 11
template/uni-app/pages/goods/cashier/index.vue

@@ -505,17 +505,11 @@
 
 						case 'ALIPAY_PAY':
 							//#ifdef H5
-							if (this.from === 'weixin') {
-								uni.redirectTo({
-									url: `/pages/users/alipay_invoke/index?id=${orderId}&pay_key=${res.data.result.pay_key}`
-								});
-							} else {
-								uni.hideLoading();
-								that.formContent = res.data.result.jsConfig;
-								that.$nextTick(() => {
-									document.getElementById('alipaysubmit').submit();
-								})
-							}
+							uni.hideLoading();
+							that.formContent = res.data.result.jsConfig;
+							that.$nextTick(() => {
+								document.getElementById('alipaysubmit').submit();
+							})
 							//#endif
 							// #ifdef MP
 							uni.navigateTo({

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 712 - 717
template/uni-app/pages/users/user_payment/index.vue