Web/applyshop.aspx.cs

(开头部分) 4KB

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


using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;

using WMPT.Model;
using WMPT.SQLServerDAL;
using WMPT.Common;

/// <summary>
/// 商家加盟
/// </summary>
public partial class applyshop : System.Web.UI.Page
{
    Points dal = new Points();
    protected void Page_Load(object sender, EventArgs e)
    {
        ValidatorSet validator = new ValidatorSet("Admin");
        validator.SetValidator();
        if (!Page.IsPostBack)
        {

        }
    }

    /// <summary>
    /// 提交推荐
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    public void BTsave_Click(object sender, EventArgs e)
    {
        string mycode = WebUtility.InputText(tbadcode.Value).ToLower();
        string cookiecode = Session["CheckCode"].ToString();
        if (cookiecode == "" || cookiecode == null || mycode != cookiecode)
        {
            AlertScript.RegScript(this.Page, UpdatePanel1, "alert('验证码错误,请重新输入','text:验证码错误,请重新输入','250','150','true','5000','true','text');hideload_super();");
            return;
        }


        Points dal = new Points();
        PointsInfo info = new PointsInfo();
        info.Unid = 0;
        info.ID = "0";
        info.Name = WebUtility.InputText(tbName.Value);
        info.Comm = WebUtility.InputText(tbComm.Value);
        info.PType = 0;
        info.RcvType = 0;
        info.NamePy = "";
        info.CommPerson = WebUtility.InputText(tbCommPerson.Value);
        info.SendLimit = 0;
        info.LoginName = "";
        info.SendFee = 0;
        info.SN1 = "";
        info.SN2 = "0";
后面还有 71 行代码,购买后查看完整代码

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

AI 解读 AI

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

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