|
|
|
@ -61,6 +61,16 @@ public class NotifyController { |
|
|
|
|
other.put("acc_trade_no", body.getString("acc_trade_no")); |
|
|
|
|
other.put("card_type", body.getString("card_type")); |
|
|
|
|
|
|
|
|
|
if (body.getString("acc_settle_amount") != null) { |
|
|
|
|
other.put("acc_settle_amount", body.getBigDecimal("acc_settle_amount").divide(new BigDecimal("100"))); |
|
|
|
|
} |
|
|
|
|
if (body.getString("acc_discount_amount") != null) { |
|
|
|
|
other.put("acc_discount_amount", body.getBigDecimal("acc_discount_amount").divide(new BigDecimal("100"))); |
|
|
|
|
} |
|
|
|
|
if (body.getString("acc_mdiscount_amount") != null) { |
|
|
|
|
other.put("acc_mdiscount_amount", body.getBigDecimal("acc_mdiscount_amount").divide(new BigDecimal("100"))); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
tradeOrderService.paySuccess( |
|
|
|
|
body.getString("out_trade_no"), |
|
|
|
|
body.getString("trade_no"), |
|
|
|
|