소스 검색

fix: 修复升级订单提交参数

yangfeng 4 년 전
부모
커밋
47a1e3cd87
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      src/jfw/modules/app/src/web/staticres/jyapp/vipsubscribe/js/vip_upgrade.js
  2. 1 1
      src/web/staticres/vipsubscribe/js/vip_upgrade.js

+ 1 - 1
src/jfw/modules/app/src/web/staticres/jyapp/vipsubscribe/js/vip_upgrade.js

@@ -521,7 +521,7 @@ $(function () {
       "lotteryId": coupon.$refs.couponRef.coupon.lotteryId,
       "area": JSON.stringify(area),
       // "industry": industry.join(","),
-      'price': Number($('.computed_price').html()),
+      'price': Number(coupon.initPrice),
       "time": purchase.timeValue.trim(),
       "orderType": 5,
       "disWord": GetQueryString("disWord"),

+ 1 - 1
src/web/staticres/vipsubscribe/js/vip_upgrade.js

@@ -525,7 +525,7 @@ $(function () {
       "lotteryId": coupon.$refs.couponRef.coupon.lotteryId,
       "area": JSON.stringify(area),
       // "industry": industry.join(","),
-      'price': Number($('.computed_price').html()),
+      'price': coupon.initPrice,
       "time": purchase.timeValue.trim(),
       "orderType": 5,
       "activeCode": activeCodes,