fix: 异常加上状态码
parent
36956f30b8
commit
c737582293
|
@ -1393,7 +1393,8 @@ public class StoreOrderServiceImpl extends ServiceImpl<StoreOrderMapper, StoreOr
|
||||||
if (StringUtils.equals("SUCCESS", result.getTradeState())) {
|
if (StringUtils.equals("SUCCESS", result.getTradeState())) {
|
||||||
String outTradeNo = result.getOutTradeNo();
|
String outTradeNo = result.getOutTradeNo();
|
||||||
// 用户支付金额
|
// 用户支付金额
|
||||||
BigDecimal payerTotal = NumberUtil.div(result.getAmount().getPayerTotal() + "", "100", 2);
|
Integer payerTotal1 = result.getAmount().getPayerTotal();
|
||||||
|
BigDecimal payerTotal = new BigDecimal(result.getAmount().getPayerTotal()).multiply(new BigDecimal("100"));
|
||||||
// 处理相关逻辑
|
// 处理相关逻辑
|
||||||
if (outTradeNo.contains("MEMBER_")) {
|
if (outTradeNo.contains("MEMBER_")) {
|
||||||
log.info("WXPAY====会员===>");
|
log.info("WXPAY====会员===>");
|
||||||
|
|
Loading…
Reference in New Issue