LK.Shop.Web/Manager/SiteBase/SiteAlexa.aspx.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using LK.Shop.Web.PageBase;
using LK.Shop.Model;
using LK.Shop.BLL;
using LK.Shop.Common;
namespace LK.Shop.Web.Manager.SiteBase
{
public partial class SiteAlexa : ManagerPageBase
{
LK.Shop.BLL.SiteBaseInfo siteBaseInfoBll = new BLL.SiteBaseInfo();
LK.Shop.Model.SiteBaseInfo siteBaseInfoModel = new Model.SiteBaseInfo();
private string vNavInfo = "当前位置:流量统计代码";
protected void Page_Load(object sender, EventArgs e)
{
if (base.managerPrivilege.IndexOf("4") < 0)
{
Response.Redirect("../NoPri.aspx");
Response.End();
}
if (!IsPostBack)
{
this.navInfoID.InnerText = vNavInfo;
LoadSiteBaseInfo();
}
}
private void LoadSiteBaseInfo()
{
siteBaseInfoModel = siteBaseInfoBll.GetModel();
txtSiteAlexa.Text = siteBaseInfoModel.SiteAlexa;
}
protected void Button_Submit_Click(object sender, EventArgs e)
{
if (ValidateValue())
{
siteBaseInfoModel.SiteAlexa = txtSiteAlexa.Text.ToString().Trim();
bool v = siteBaseInfoBll.UpdateSiteAlexa(siteBaseInfoModel);
if (v)
{
JScript.AlertAndRedirect("信息提交成功!", Request.UrlReferrer.AbsoluteUri);
}
}
}
#region 校验信息
/// <summary>
/// 校验信息
/// </summary>
/// <returns></returns>
后面还有 13 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
