/// <summary> /// 用户优惠券 逻辑层 /// </summary> /// <param name="Logger"></param> /// <param name="ICacheHelper"></param> /// <param name="IPromotionCodeRepository"></param> public CouponManager( IPromotionOprLogRepository IPromotionOprLogRepository, ILogger <CouponManager> Logger, ICacheHelper ICacheHelper, IPromotionCodeRepository IPromotionCodeRepository, ICouponGetRuleRepository ICouponGetRuleRepository, ICouponUseRuleRepository ICouponUseRuleRepository ) { _IPromotionOprLogRepository = IPromotionOprLogRepository; _logger = Logger; _ICacheHelper = ICacheHelper; _CouponGetRuleRepository = ICouponGetRuleRepository; _CouponUseRuleRepository = ICouponUseRuleRepository; _PromotionCodeRepository = IPromotionCodeRepository; }
public CouponGetRuleManager( ILogger <CouponGetRuleManager> Logger, ICacheHelper ICacheHelper, ICouponGetRuleRepository ICouponGetRuleRepository, ICouponUseRuleRepository ICouponUseRuleRepository, ICouponGetRuleAuditRepository ICouponGetRuleAuditRepository, IConfigBaseService IConfigBaseService, IOptionsSnapshot <AppSettingOptions> AppSettingOptions ) { _logger = Logger; _ICacheHelper = ICacheHelper; _ICouponGetRuleRepository = ICouponGetRuleRepository; _ICouponUseRuleRepository = ICouponUseRuleRepository; _ICouponGetRuleAuditRepository = ICouponGetRuleAuditRepository; _IConfigBaseService = IConfigBaseService; _AppSettingOptions = AppSettingOptions.Value; }