Hidistro.UI.Web/Admin/Shop/ArticlesEdit.cs

(开头部分) 6KB

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

using System;
using System.Web.UI.HtmlControls;
using ControlPanel.WeiBo;
using Hidistro.ControlPanel.Store;
using Hidistro.Entities.Store;
using Hidistro.Entities.VShop;
using Hidistro.Entities.Weibo;
using Hidistro.UI.ControlPanel.Utility;
using Hidistro.UI.Web.hieditor.ueditor.controls;

namespace Hidistro.UI.Web.Admin.Shop
{
    public class ArticlesEdit : AdminPage
    {
        protected string articleJson;
        protected ucUeditor fkContent;
        protected string htmlAddJs;
        protected string htmlArticleTitle;
        protected string htmlDate;
        protected string htmlImgUrl;
        protected string htmlLinkType;
        protected string htmlLinkTypeName;
        protected string htmlMemo;
        protected string htmlOperName;
        protected string htmlUrl;
        protected HtmlInputCheckBox IsShare;
        protected int MaterialID;
        protected string ReUrl;

        protected ArticlesEdit()
            : base("m01", "dpp06")
        {
            this.htmlOperName = "新增";
            this.htmlArticleTitle = "单条图文标题";
            this.htmlImgUrl = string.Empty;
            this.htmlUrl = string.Empty;
            this.htmlLinkTypeName = "查看全文";
            this.htmlMemo = "摘要";
            this.htmlLinkType = "1";
            this.htmlAddJs = string.Empty;
            this.htmlDate = DateTime.Now.ToString("M月d日");
            this.ReUrl = string.Empty;
        }

        [PrivilegeCheck(Privilege.Summary)]
        protected void Page_Load(object sender, EventArgs e)
        {
            int.TryParse(base.Request.QueryString["id"], out this.MaterialID);
            string text1 = base.Request.QueryString["cmd"];
            this.ReUrl = base.Request.QueryString["reurl"];
            if (string.IsNullOrEmpty(this.ReUrl))
            {
                this.ReUrl = "articles.aspx";
            }
            string str = base.Request.Form["posttype"];
            if (!base.IsPostBack)
            {
                if (str == "addsinglearticle")
                {
                    base.Response.ContentType = "application/json";
后面还有 101 行代码,购买后查看完整代码

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

AI 解读 AI

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

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