/// <summary> /// 获取商家入驻第三部信息 /// </summary> /// <param name="id"></param> /// <returns></returns> public static Himall.DTO.ShopProfileStep2 GetShopProfileStep2(long id, out Himall.Model.ShopInfo.ShopStage Stage) { var shop = _iShopService.GetShop(id); var model = new Himall.DTO.ShopProfileStep2() { BankAccountName = shop.BankAccountName == null ? "" : shop.BankAccountName, BankAccountNumber = shop.BankAccountNumber == null ? "" : shop.BankAccountNumber, BankCode = shop.BankCode == null ? "" : shop.BankCode, BankName = shop.BankName == null ? "" : shop.BankName, BankPhoto = shop.BankPhoto == null ? "" : shop.BankPhoto, BankRegionId = shop.BankRegionId, TaxpayerId = shop.TaxpayerId == null ? "" : shop.TaxpayerId, TaxRegistrationCertificate = shop.TaxRegistrationCertificate == null ? "" : shop.TaxRegistrationCertificate, TaxRegistrationCertificatePhoto = shop.TaxRegistrationCertificatePhoto == null ? "" : shop.TaxRegistrationCertificatePhoto, WeiXinAddress = shop.WeiXinAddress == null ? "" : shop.WeiXinAddress, WeiXinNickName = shop.WeiXinNickName == null ? "" : shop.WeiXinNickName, WeiXinOpenId = shop.WeiXinOpenId == null ? "" : shop.WeiXinOpenId, WeiXinSex = shop.WeiXinSex == null ? 0 : shop.WeiXinSex.Value, WeiXinTrueName = shop.WeiXinTrueName == null ? "" : shop.WeiXinTrueName, BusinessType = shop.BusinessType == null ? Himall.CommonModel.ShopBusinessType.Enterprise : shop.BusinessType.Value, Settled = GetSettled() }; Stage = shop.Stage.Value; return(model); }
/// <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)); }