重复依赖

This commit is contained in:
2025-10-27 14:22:27 +08:00
parent 00cbb7bc4f
commit 5b9ddbe91c
5 changed files with 16 additions and 79 deletions

View File

@@ -8,6 +8,7 @@ import com.alibaba.fastjson2.JSONObject;
import com.czg.CzgPayUtils;
import com.czg.entity.CzgBaseRespParams;
import com.czg.market.service.MkDistributionConfigService;
import com.czg.market.service.MkDistributionUserService;
import com.czg.mq.PrintMqListener;
import com.czg.order.entity.OrderPayment;
import com.czg.order.service.OrderInfoService;
@@ -51,7 +52,7 @@ public class NotifyController {
@Resource
private WxService wxService;
@Resource
private MkDistributionConfigService distributionConfigService;
private MkDistributionUserService distributionUserService;
@Resource
private OrderPaymentService paymentService;
@@ -98,7 +99,7 @@ public class NotifyController {
payment.setPayTime(DateUtil.date().toLocalDateTime());
payment.setRespJson(plainTextJson.toJSONString());
paymentService.updateById(payment);
distributionConfigService.rechargeCallBack(payment.getSourceId(), payment.getShopId(), payment.getAmount(), payment.getId());
distributionUserService.rechargeCallBack(payment.getSourceId(), payment.getShopId(), payment.getAmount(), payment.getId());
}
return "SUCCESS";