public ActionResult AddSa() { List <GetStoreList_BaseInfo> poiList = _poiService.GetPoiList(); base.ViewBag.Poi = ( from p in poiList where p.available_state == 3 select p).ToList(); return(View()); }
public ActionResult Index() { if (_settings == null) { return(Redirect("/sellerAdmin/Poi/UnConfig/您还未绑定微信公众号,需要绑定微信已认证服务号才可以使用摇一摇及门店管理相关功能。")); } if (!_isdeploy) { return(Redirect("/sellerAdmin/Poi/UnConfig/access_token错误或失效,请确认AppId与AppSecret配置正确")); } if (_poiService.GetPoiList(0, 1).errcode != ReturnCode.api功能未授权) { return(View()); } return(Redirect("/sellerAdmin/Poi/Unauthorized")); }