Browse Source

修改计算方式

july 4 năm trước cách đây
mục cha
commit
94c4b5cf48

+ 3 - 0
ldt-core/src/main/java/org/springblade/payment/handle/handler/ChannelPointHandle.java

@@ -85,6 +85,9 @@ public class ChannelPointHandle implements BaseHandle {
 		Assert.isTrue(dataHandle.saveOrUpdateEntity(loginUserService, user), () -> {
 			throw new TradeException(ResCode.TRADE_ERROR, successParams);
 		});
+		Assert.isTrue(dataHandle.saveOrUpdateEntity(userChannelPointService, channelPoint), () -> {
+			throw new TradeException(ResCode.TRADE_ERROR, successParams);
+		});
 		successParams.setPointBillsId(pointBills.getId());
 		successParams.getBills().setPointNum(handlePrice);