/// <summary>
        /// 提现申请页面初始
        /// </summary>
        /// <returns></returns>
        public ActionResult ApplyWithDraw()
        {
            Himall.Model.ShopInfo.ShopStage Stage = Himall.Model.ShopInfo.ShopStage.Agreement;
            var shop = ShopApplication.GetShopProfileStep2(CurrentSellerManager.ShopId, out Stage);

            Himall.DTO.MemberAccountSafety mMemberAccountSafety = MemberApplication.GetMemberAccountSafety(CurrentUser.Id);
            ViewBag.MemberEmail = mMemberAccountSafety.Email;
            ViewBag.MemberPhone = mMemberAccountSafety.Phone;
            return(View(shop));
        }
예제 #2
0
        public ActionResult Step2()
        {
            Entities.ShopInfo.ShopStage Stage = Entities.ShopInfo.ShopStage.Agreement;
            var shop = ShopApplication.GetShopProfileStep2(CurrentSellerManager.ShopId, out Stage);

            if (Stage == Entities.ShopInfo.ShopStage.CompanyInfo)
            {
                return(RedirectToAction("step1"));
            }

            ViewBag.BankRegionIds = RegionApplication.GetRegionPath(shop.BankRegionId);


            return(View(shop));
        }
예제 #3
0
        /// <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));
        }
예제 #4
0
        /// <summary>
        /// 提现申请页面初始
        /// </summary>
        /// <returns></returns>
        public ActionResult ApplyWithDraw()
        {
            Entities.ShopInfo.ShopStage Stage = Entities.ShopInfo.ShopStage.Agreement;
            var shop = ShopApplication.GetShopProfileStep2(CurrentSellerManager.ShopId, out Stage);

            Himall.DTO.MemberAccountSafety mMemberAccountSafety = MemberApplication.GetMemberAccountSafety(MemberApplication.GetMemberUserIdOrShop(CurrentUser, CurrentSellerManager));

            ViewBag.MemberEmail = mMemberAccountSafety.Email;
            ViewBag.MemberPhone = mMemberAccountSafety.Phone;
            var siteSetting = SiteSettingApplication.SiteSettings;

            ViewBag.CanAlipay       = siteSetting.Withdraw_AlipayEnable;
            ViewBag.CanWXpay        = siteSetting.IsOpenH5;//微信提现需要绑定了微信支付才可以
            ViewBag.WithDrawMinimum = siteSetting.ShopWithDrawMinimum;
            ViewBag.WithDrawMaximum = siteSetting.ShopWithDrawMaximum;
            return(View(shop));
        }