CommonBussiness/admin/basis.aspx.cs

(开头部分) 13KB

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

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

using System.Data;
using DAL;
using System.IO;
using System.Drawing;
using ThoughtWorks.QRCode.Codec;
using System.Text;
using System.Drawing.Imaging;

namespace CommonBussiness.admin
{
    public partial class basis : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                if (Session["loginUser"] == null)
                {
                    Response.Redirect("/admin/login.aspx");
                    return;
                }
                LoadInfo();
            }
        }
        
        /// <summary>
        /// 加载信息
        /// </summary>
        private void LoadInfo()
        {
            if(!IsPostBack)
            {
                this.txtBase1.Text = BaseConfigService.GetById(11);
                this.txtBase2.Text = BaseConfigService.GetById(12);
                this.txtBase3.Text = BaseConfigService.GetById(13);
                this.txtBase4.Text = BaseConfigService.GetById(14);
                this.txtBase5.Text = BaseConfigService.GetById(15);
                this.txtBase6.Text = BaseConfigService.GetById(16);
                this.txtBase7.Text = BaseConfigService.GetById(17);
                this.txtBase8.Text = BaseConfigService.GetById(18);
                this.txtBase9.Text = BaseConfigService.GetById(19);
                
                this.txtBase12.Text = BaseConfigService.GetById(20);
                this.txtBase13.Text = BaseConfigService.GetById(21);
                this.txtBase14.Text = BaseConfigService.GetById(22);
                this.txtBase15.Text = BaseConfigService.GetById(23);

                this.tb_id.Text = BaseConfigService.GetById(39);
                this.tb_secret.Text = BaseConfigService.GetById(40);
                this.tb_URL.Text = BaseConfigService.GetById(41);
                lblURL1.Text = BaseConfigService.GetById(24);
                lblURL2.Text = BaseConfigService.GetById(25);

后面还有 266 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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