|
|
|
@ -121,6 +121,7 @@ public class CzOrderController { |
|
|
|
|
|
|
|
|
|
// 判断是否充值成功
|
|
|
|
|
if (dataObject.getInteger("status") == 3) { |
|
|
|
|
if (rechargeOrder.getRechargeStatus() ==201) { |
|
|
|
|
new Thread(() -> { |
|
|
|
|
HighUser highUser = highUserService.findByUserId(rechargeOrder.getUserId()); |
|
|
|
|
WxMsgConfig.rechargedSuccess( |
|
|
|
@ -131,6 +132,8 @@ public class CzOrderController { |
|
|
|
|
RechargePayType.getNameByType(rechargeOrder.getPayType()), |
|
|
|
|
highUser.getOpenId()); |
|
|
|
|
}).start(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
childOrder.setStatus(101); |
|
|
|
|
rechargeOrder.setRechargeStatus(202); |
|
|
|
|
rechargeOrder.setPayStatus(100); |
|
|
|
@ -188,6 +191,8 @@ public class CzOrderController { |
|
|
|
|
|
|
|
|
|
// 判断是否充值成功
|
|
|
|
|
if (state == 1) { |
|
|
|
|
|
|
|
|
|
if (rechargeOrder.getRechargeStatus() ==201) { |
|
|
|
|
new Thread(() -> { |
|
|
|
|
HighUser highUser = highUserService.findByUserId(rechargeOrder.getUserId()); |
|
|
|
|
WxMsgConfig.rechargedSuccess( |
|
|
|
@ -198,6 +203,7 @@ public class CzOrderController { |
|
|
|
|
RechargePayType.getNameByType(rechargeOrder.getPayType()), |
|
|
|
|
highUser.getOpenId()); |
|
|
|
|
}).start(); |
|
|
|
|
} |
|
|
|
|
childOrder.setStatus(101); |
|
|
|
|
rechargeOrder.setRechargeStatus(202); |
|
|
|
|
rechargeOrder.setPayStatus(100); |
|
|
|
|