public PoisController(IPoiService poiService, IErrorResponseHelper errorResponseHelper, IBtcLogger <PoisController> logger, IHttpClientFactory httpClientFactory) { _poiService = poiService; _errorResponseHelper = errorResponseHelper; _logger = logger; _httpClientFactory = httpClientFactory; }
public ShakeAroundController() { _settings = ServiceHelper.Create <IVShopService>().GetVShopSetting(base.CurrentSellerManager.ShopId); _saService = ServiceHelper.Create <IShakeAroundService>(); _poiService = ServiceHelper.Create <IPoiService>(); try { _saService.init(_settings.AppId, _settings.AppSecret); _poiService.init(_settings.AppId, _settings.AppSecret); } catch { _isdeploy = false; } }
public PoiController() { _settings = ServiceHelper.Create <IVShopService>().GetVShopSetting(base.CurrentSellerManager.ShopId); if (_settings != null) { _poiService = ServiceHelper.Create <IPoiService>(); try { _poiService.init(_settings.AppId, _settings.AppSecret); } catch { _isdeploy = false; } } }
public PoiController(IPoiService iPoiService, IVShopService iVShopService) { _iVShopService = iVShopService; if (CurrentSellerManager != null) { this._settings = _iVShopService.GetVShopSetting(CurrentSellerManager.ShopId); if (this._settings != null) { this._iPoiService = iPoiService; try { this._iPoiService.init(this._settings.AppId, this._settings.AppSecret); } catch { this._isdeploy = false; } } } }
public ShakeAroundController(IVShopService iVShopService, IShakeAroundService iShakeAroundService, IPoiService iPoiService) { var _ivshop = iVShopService; if (CurrentSellerManager != null) { this._settings = _ivshop.GetVShopSetting(CurrentSellerManager.ShopId); this._iShakeAroundService = iShakeAroundService; this._iPoiService = iPoiService; try { this._iShakeAroundService.init(this._settings.AppId, this._settings.AppSecret); this._iPoiService.init(this._settings.AppId, this._settings.AppSecret); } catch { this._isdeploy = false; } } }
public PoiTest() { _poiService = ServiceProvider.GetRequiredService <IPoiService>(); }