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;
     }
 }
Example #2
0
 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;
         }
     }
 }