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; }
public ChargeController(Codes.Utility.XPay.AliPay aliPay, IConfiguration config, CHIS.DbContext.CHISEntitiesSqlServer db, ChangePayService paySvr , LoginService loginSvr , NotifyService notifySvr , WeChatService weChatSvr , AccessService accSvr , DoctorService docSvr) : base(db) { _aliPay = aliPay; _config = config; this.db = db; _paySvr = paySvr; _loginSvr = loginSvr; _notifySvr = notifySvr; _weChatSvr = weChatSvr; _docSvr = docSvr; _accSvr = accSvr; }