WebUI/Ajax/SubmitData.ashx.cs

(开头部分) 20KB

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

using Common;
using LitJson;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.SessionState;
using WebBase;
using Bll;
using HModel;

namespace WebUI.Ajax
{

    /// <summary>
    /// SubmitDate 的摘要说明
    /// </summary>
    public class SubmitData : IHttpHandler, IRequiresSessionState
    {

        Model.siteconfig siteConfig = new BLL.siteconfig().loadConfig();
       // Model.userconfig userConfig = new BLL.userconfig().loadConfig();

        public void ProcessRequest(HttpContext context)
        {
            context.Response.ContentType = "text/plain";
            string res = "0";
            if (context.Request.QueryString["t"] != null)
            {
                string type = context.Request.QueryString["t"].ToString();


                switch (type)
                {
                    case "reg":  //注册
                        res = Register(context);
                        break;
                    case "isHave":  //注册
                        res = isHave(context);
                        break;
                        
                    case "score":  //积分
                        res = InsertCardScore();
                        break;
                    case "calculate":  //积分
                        res = Insertcalculate(context);
                        break;
                        
                    case "login":  //登录
                        res = Login(context);
                        break;
                    case "user_oauth_bind": //绑定第三方登录账户
                        res = user_oauth_bind(context);
                        break;
                    case "user_oauth_register": //注册第三方登录账户
                        res = user_oauth_register(context);
                        break;
                    default:
                        break;
                }
后面还有 480 行代码,购买后查看完整代码

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

AI 解读 AI

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

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