protected void Page_Load(object sender, EventArgs e) { WebUtility.AdminLoginAuth(); msgTemp = bll_msgTemp.GetModel(Request.QueryString["pkid"]); if (msgTemp == null) { msgTemp = new MsgTempModel(); } if (!Page.IsPostBack) { BindInfo(); } }
protected void Page_Load(object sender, EventArgs e) { WebUtility.AdminLoginAuth(); if (!bll_admin.RuleAuth("系统_消息模板")) { WebUtility.ShowError(WebUtility.ERROR101); } msgTemp = bll_msgTemp.GetModel(Request.QueryString["pkid"]); if (msgTemp == null) { WebUtility.ShowError(WebUtility.ERROR102); } if (!Page.IsPostBack) { BindInfo(); } }