public ActionResult Step2() { ShopInfo.ShopStage Stage = ShopInfo.ShopStage.Agreement; var shop = ShopApplication.GetShopProfileStep2(CurrentSellerManager.ShopId, out Stage); if (Stage == ShopInfo.ShopStage.CompanyInfo) { return(RedirectToAction("step1")); } ViewBag.BankRegionIds = RegionApplication.GetRegionPath(shop.BankRegionId); return(View(shop)); }
/// <summary> /// 银行账户信息 /// </summary> /// <returns></returns> public ActionResult Step4() { Cache.Remove(CacheKeyCollection.CACHE_SHOP(CurrentSellerManager.ShopId, false)); ShopInfo.ShopStage Stage = ShopInfo.ShopStage.Agreement; var shop = ShopApplication.GetShopProfileStep2(CurrentSellerManager.ShopId, out Stage); if (Stage == ShopInfo.ShopStage.CompanyInfo) { return(RedirectToAction("step3")); } ViewBag.BankRegionIds = RegionApplication.GetRegionPath(shop.BankRegionId); ViewBag.fullName = RegionApplication.GetFullName(shop.BankRegionId); return(View(shop)); }
/// <summary> /// 设置申请商家步骤 /// </summary> /// <param name="shopStage">第几步</param> /// <param name="id">店铺Id</param> public static void SetShopStage(ShopInfo.ShopStage shopStage, long id) { Service.SetShopStage(shopStage, id); ClearCacheShop(id); }