提交代码

yy_dev
胡锐 1 year ago
parent 8b65b814a0
commit 494f28afe8
  1. 10
      open-api/src/main/java/com/api/controller/v1/NotifyController.java

@ -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"),

Loading…
Cancel
Save