Commit 09de38e2ad1c7bf60fc8b009acf7b5224b7cfac0
1 parent
7c0a5069
utilParams
Showing
2 changed files
with
4 additions
and
3 deletions
home.html
... | ... | @@ -86,7 +86,7 @@ |
86 | 86 | <script src="js/config.js?c=8.1"></script> |
87 | 87 | <script src="js/common.js?b=4.11"></script> |
88 | 88 | <!--<script src="js/jweixin-1.0.0.js?v=0.1"></script>--> |
89 | -<script src="js/pay.js?S=888.60"></script> | |
89 | +<script src="js/pay.js?S=88118.60"></script> | |
90 | 90 | </body> |
91 | 91 | |
92 | 92 | </html> | ... | ... |
js/pay.js
... | ... | @@ -704,6 +704,7 @@ var webAppClass = { |
704 | 704 | |
705 | 705 | |
706 | 706 | function utilParams(val,orderID,openId) { |
707 | + var paySrcType = getQueryString(window.location)._paySrcType | |
707 | 708 | var _orderTotalFee = Number($('#due').text())*100 //总金额 |
708 | 709 | |
709 | 710 | var _dis = $('#discountFee').text() |
... | ... | @@ -724,7 +725,7 @@ function utilParams(val,orderID,openId) { |
724 | 725 | if(_orderDicountFee > 0){ |
725 | 726 | jsondata = { |
726 | 727 | orderBigType:100, |
727 | - payOrderType:101, | |
728 | + payOrderType:paySrcType, | |
728 | 729 | rltOrderId:orderID, |
729 | 730 | payType:val, |
730 | 731 | terminalSource:7, |
... | ... | @@ -739,7 +740,7 @@ function utilParams(val,orderID,openId) { |
739 | 740 | }else{ |
740 | 741 | jsondata = { |
741 | 742 | orderBigType:100, |
742 | - payOrderType:101, | |
743 | + payOrderType:paySrcType, | |
743 | 744 | rltOrderId:orderID, |
744 | 745 | payType:val, |
745 | 746 | terminalSource:7, | ... | ... |