fix: 退款修改

This commit is contained in:
张松 2024-11-21 09:57:00 +08:00
parent 5364eec11c
commit 610b0f327b
1 changed files with 4 additions and 0 deletions

View File

@ -2977,6 +2977,10 @@ public class TbShopTableServiceImpl implements TbShopTableService {
if (remainNum == 0) {
returnCoupon(orderInfo, true);
// 返还积分
memberPointsService.addPoints(Long.valueOf(orderInfo.getMemberId()), orderInfo.getPointsNum(),
"用户退款订单积分返还: " + orderInfo.getPointsNum() + "积分", Long.valueOf(orderInfo.getId()));
}
}
}