public AuditPassWeChatMsgBehavior( IOrchardServices os, ICardCouponService cardcoupon) : base(os) { this.CardCoupon = cardcoupon; }
public UserGetCardWeChatMsgBehavior( IOrchardServices os, IWxUserService userService, IWeChatApi weChat, ICardCouponService ccService) : base(os) { this.WxUserService = userService; this.WeChat = weChat; this.CardCoupon = ccService; Logger = NullLogger.Instance; }
public CardsController( IOrchardServices os, ICardCouponService cardcoupn, IMerchantService merchant, IEnjoyAuthService auth, IWeChatApi wechat) { this.OS = os; this.WeChat = wechat; this.CardCoupon = cardcoupn; this.Merchant = merchant; this.Auth = auth; }
public override void Init() { base.Init(); var os = _container.Resolve <IOrchardServices>(); _merchantService = _container.Resolve <IMerchantService>(); _verifyCodeGenerator = _container.Resolve <IVerifyCodeGenerator>(); long.TryParse(_verifyCodeGenerator.GenerateNewVerifyCode(), out _merchantid); _enjoyAuthService = _container.Resolve <IEnjoyAuthService>(); _weChatMsgHandler = _container.Resolve <IWeChatMsgHandler>(); _cardCouponService = _container.Resolve <ICardCouponService>(); _weChatApi = _container.Resolve <IWeChatApi>(); CreatingEnjoyUserAndMerchant(); //CreatingCardCoupon(); }
public EnjoyController( IOrchardServices os, IEnjoyAuthService auth, IWeChatApi wechat, IMerchantService merchant, IWxUserService wxUserService, IShopService shop, ICardCouponService cardCoupon, IWeChatMsgHandler handler) { this._authService = auth; this._os = os; this._merchantService = merchant; this._weChat = wechat; this.Logger = NullLogger.Instance; this._handler = handler; this._wxUserService = wxUserService; this._shopservice = shop; this._cardCouponService = cardCoupon; }
public CardSkuRemindWeChatMsgBehavior( IOrchardServices os, ICardCouponService cardCoupon) : base(os) { this.CardCoupon = cardCoupon; }