public ChangePayService(CHISEntitiesSqlServer db, DispensingService dispensingSvr, IHostingEnvironment env , CustomerService cusSvr , PointsDetailService pointsService , TreatService treatSvr , AccessService accSvr , DispensingService dispSvr , Codes.Utility.XPay.AliPay aliPay , WeChatService weChatSvr , Code.Managers.IMyLogger logger , IHttpContextAccessor httpContextAccessor ) : base(db) { _dispensingSvr = dispensingSvr; _env = env; _cusSvr = cusSvr; _pointsService = pointsService; _treatSvr = treatSvr; _accSvr = accSvr; this._logger = logger; _aliPay = aliPay; _weChatSvr = weChatSvr; _httpContextAccessor = httpContextAccessor; }
/// <summary> /// 构造函数 /// </summary> /// <param name="db"></param> /// <param name="config"></param> /// <param name="logger"></param> public NotifyService(CHISEntitiesSqlServer db , IConfiguration config , Services.DrugService drugSvr , Code.Managers.IMyLogger logger , AccessService accSvr ) : base(db) { _drugSvr = drugSvr; _config = config; _logger = logger; _accSvr = accSvr; }