ソースを参照

Merge branch 'dev/v4.9.79_tsz' of qmx/jy into feature/v4.9.79

汤世哲 7 ヶ月 前
コミット
b78c742702

+ 2 - 3
src/web/templates/common/returnMoney/wxReturnMoney.html

@@ -241,10 +241,10 @@
                                         checkout.buryingPoint()
 
                                         var  bigmemberBid=checkout.getUrlParam("b");
-                                        var href ="/weixin/backend/paySuccess?orderCode=" + res.orderCode + "&payTime=" + res.pay_time + "&price=" + checkout.formatMoney({{.T.data.return_money}} / 100) + "&t={{.T.t}}"
+                                        var href ="/weixin/backend/paySuccess?orderCode=" + res.order_code + "&payTime=" + res.pay_time + "&price=" + res.return_money + "&t={{.T.t}}"
 
                                         if(bigmemberBid==="1"){
-                                          href="/weixin/aiForecastPack/paySuccess?orderCode=" + res.orderCode + "&email=" + res.email + "&payTime=" + res.payTime + "&price=" + res.price + "&t={{.T.t}}"
+                                          href="/weixin/aiForecastPack/paySuccess?orderCode=" + res.order_code + "&email=" + res.email + "&payTime=" + res.payTime + "&price=" + res.price + "&t={{.T.t}}"
                                         }
 
                                         if (res.filter) {
@@ -256,7 +256,6 @@
                                           href +="&docsId="+docsId
                                         }
                                         setTimeout(function() {
-                                          alert('href', href)
                                           location.replace(href);
                                         }, 300)
                                     }

+ 1 - 1
src/web/templates/weixin/commonPay/paySuccess.html

@@ -100,7 +100,7 @@
             </div>
         </div>
     </div>
-    {{ if ne .T.doType "member" }}
+    {{ if and (ne .T.doType "member") (ne .T.doType "backend") }}
     <p class="invoce-tip-text">如需发票,可点击【查看订单】前往开票</p>
     {{end}}
     {{if eq .T.doType "onlineCourse"}}