Hidistro.UI.SaleSystem.CodeBehind/VDistributorCommission.cs

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

namespace Hidistro.UI.SaleSystem.CodeBehind
{
    using Hidistro.Core;
    using Hidistro.Core.Enums;
    using Hidistro.Entities.Members;
    using Hidistro.SaleSystem.Vshop;
    using Hidistro.UI.Common.Controls;
    using System;
    using System.Data;
    using System.Web;
    using System.Web.UI;
    using System.Web.UI.WebControls;

    [ParseChildren(true)]
    public class VDistributorCommission : VMemberTemplatedWebControl
    {
        private HyperLink hyrequest;
        private FormatedMoneyLabel lblAlreadycommission;
        private FormatedMoneyLabel lblcommission;
        private FormatedMoneyLabel lblsaleprice;
        private FormatedMoneyLabel lblsurpluscommission;
        private FormatedMoneyLabel lblthreecommission;
        private FormatedMoneyLabel lblthreesaleprice;
        private FormatedMoneyLabel lbltotalcommission;
        private FormatedMoneyLabel lbltwocommission;
        private FormatedMoneyLabel lbltwosaleprice;
        private Literal litMsg;
        private Panel panelthree;
        private Panel paneltwo;

        protected override void AttachChildControls()
        {
            DistributorsInfo userIdDistributors = DistributorsBrower.GetUserIdDistributors(Globals.GetCurrentMemberUserId());
            if (userIdDistributors.ReferralStatus != 0)
            {
                HttpContext.Current.Response.Redirect("MemberCenter.aspx");
            }
            else
            {
                this.lbltotalcommission = (FormatedMoneyLabel) this.FindControl("lbltotalcommission");
                this.lblsurpluscommission = (FormatedMoneyLabel) this.FindControl("lblsurpluscommission");
                this.lblAlreadycommission = (FormatedMoneyLabel) this.FindControl("lblAlreadycommission");
                this.lblcommission = (FormatedMoneyLabel) this.FindControl("lblcommission");
                this.lbltwocommission = (FormatedMoneyLabel) this.FindControl("lbltwocommission");
                this.lblthreecommission = (FormatedMoneyLabel) this.FindControl("lblthreecommission");
                this.lblsaleprice = (FormatedMoneyLabel) this.FindControl("lblsaleprice");
                this.lbltwosaleprice = (FormatedMoneyLabel) this.FindControl("lbltwosaleprice");
                this.lblthreesaleprice = (FormatedMoneyLabel) this.FindControl("lblthreesaleprice");
                this.paneltwo = (Panel) this.FindControl("paneltwo");
                this.panelthree = (Panel) this.FindControl("panelthree");
                this.litMsg = (Literal) this.FindControl("litMsg");
                this.hyrequest = (HyperLink) this.FindControl("hyrequest");
                PageTitle.AddSiteNameTitle("我的佣金");
                DataTable currentDistributorsCommosion = DistributorsBrower.GetCurrentDistributorsCommosion(userIdDistributors.UserId);
                if ((userIdDistributors != null) && (userIdDistributors.UserId > 0))
                {
                    this.lblsurpluscommission.Money = userIdDistributors.ReferralBlance;
                    this.lblAlreadycommission.Money = userIdDistributors.ReferralRequestBalance;
                    if (userIdDistributors.DistributorGradeId == DistributorGrade.TowDistributor)
                    {
后面还有 62 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。