Răsfoiți Sursa

fix(push): keep single autowired constructor in DeliveryOrderNotificationService

f525e79 新增 6 参构造器时未摘掉旧 4 参构造器的 @Autowired,
两个 required 构造器导致 Spring 启动即失败
(Invalid autowire-marked constructor)。

🤖 Generated with [Claude Code](https://claude.com/anthropic)

Co-Authored-By: Claude <noreply@anthropic.com>
qmj 2 săptămâni în urmă
părinte
comite
86960de369

+ 0 - 1
ruoyi-admin/src/main/java/com/ruoyi/app/order/DeliveryOrderNotificationService.java

@@ -44,7 +44,6 @@ public class DeliveryOrderNotificationService {
         this(riderPositionMapper, pushEventService, infoUserService, null);
     }
 
-    @Autowired
     public DeliveryOrderNotificationService(RiderPositionMapper riderPositionMapper,
                                             PushEventService pushEventService,
                                             IInfoUserService infoUserService,