Example #1
0
 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 UserController(UserService userService, DiagnoseService diagnoseService,
                       TreatService treatService, TreatImageService treatImageService, IOptions <MyOptions> optionsAccessor)
 {
     _userService       = userService;
     _diagnoseService   = diagnoseService;
     _treatService      = treatService;
     _treatImageService = treatImageService;
     _optionsAccessor   = optionsAccessor.Value;
     _lovePlatformApi   = new LovePlatformAdminApi(_optionsAccessor.WebApiUrl);
 }
Example #3
0
 public DoctorController(IMemoryCache memoryCache
                         , DispensingService dispensingSvr
                         , DrugService drugSrv
                         , Services.JKWebNetService jkSvr
                         , AccessService accSvr
                         , DictService dictSvr
                         , TreatService treatSvr
                         , IMapper mapper
                         , DbContext.CHISEntitiesSqlServer db) : base(db)
 {
     _dispensingSvr = dispensingSvr;
     _drugSrv       = drugSrv;
     _memoryCache   = memoryCache;
     _jkSvr         = jkSvr;
     _accSvr        = accSvr;
     _dictSvr       = dictSvr;
     _treatSvr      = treatSvr;
     _mapper        = mapper;
 }
Example #4
0
 public TreatController(TreatService treatService)
 {
     _treatService = treatService;
 }