注入
This commit is contained in:
parent
81f516300e
commit
da2f865a5e
@ -50,6 +50,7 @@ public class UnifiedRegistrationService : ITransient
|
|||||||
private readonly OrderNoGeneratorService _orderNoGeneratorService;
|
private readonly OrderNoGeneratorService _orderNoGeneratorService;
|
||||||
private readonly RefundConfigService _refundConfigService;
|
private readonly RefundConfigService _refundConfigService;
|
||||||
private readonly ISqlSugarRepository<RefundRecord> _refundRecordRepository;
|
private readonly ISqlSugarRepository<RefundRecord> _refundRecordRepository;
|
||||||
|
private readonly EventRuleSnapshotService _ruleSnapshotService;
|
||||||
|
|
||||||
public UnifiedRegistrationService(
|
public UnifiedRegistrationService(
|
||||||
ISqlSugarRepository<EventInfo> eventRepository,
|
ISqlSugarRepository<EventInfo> eventRepository,
|
||||||
@ -81,7 +82,8 @@ public class UnifiedRegistrationService : ITransient
|
|||||||
ILogger<UnifiedRegistrationService> logger,
|
ILogger<UnifiedRegistrationService> logger,
|
||||||
OrderNoGeneratorService orderNoGeneratorService,
|
OrderNoGeneratorService orderNoGeneratorService,
|
||||||
RefundConfigService refundConfigService,
|
RefundConfigService refundConfigService,
|
||||||
ISqlSugarRepository<RefundRecord> refundRecordRepository)
|
ISqlSugarRepository<RefundRecord> refundRecordRepository,
|
||||||
|
EventRuleSnapshotService ruleSnapshotService)
|
||||||
{
|
{
|
||||||
_eventRepository = eventRepository;
|
_eventRepository = eventRepository;
|
||||||
_unitRepository = unitRepository;
|
_unitRepository = unitRepository;
|
||||||
@ -113,6 +115,7 @@ public class UnifiedRegistrationService : ITransient
|
|||||||
_orderNoGeneratorService = orderNoGeneratorService;
|
_orderNoGeneratorService = orderNoGeneratorService;
|
||||||
_refundConfigService = refundConfigService;
|
_refundConfigService = refundConfigService;
|
||||||
_refundRecordRepository = refundRecordRepository;
|
_refundRecordRepository = refundRecordRepository;
|
||||||
|
_ruleSnapshotService = ruleSnapshotService;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user