【修复】pay:PayWalletServiceImpl 可能存在的循环依赖问题

【修复】system:dev 配置文件,缺少 WECHAT_MINI_APP 配置项~
This commit is contained in:
YunaiV
2024-04-24 12:53:30 +08:00
parent 5380e21001
commit da5425da2f
3 changed files with 15 additions and 2 deletions

View File

@ -36,13 +36,15 @@ public class PayWalletServiceImpl implements PayWalletService {
@Resource
private PayWalletMapper walletMapper;
@Resource
@Lazy // 延迟加载,避免循环依赖
private PayWalletTransactionService walletTransactionService;
@Resource
@Lazy
@Lazy // 延迟加载,避免循环依赖
private PayOrderService orderService;
@Resource
@Lazy
@Lazy // 延迟加载,避免循环依赖
private PayRefundService refundService;
@Override