Hidistro.UI.Web/Admin/zbGoods/AddSpecification.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace Hidistro.UI.Web.Admin.zbGoods
{
using Hidistro.ControlPanel.zbCommodities;
using Hidistro.ControlPanel.Store;
using Hidistro.Core;
using Hidistro.Entities.Commodities;
using Hidistro.Entities.Store;
using Hidistro.UI.ControlPanel.Utility;
using Hidistro.UI.Web.Admin.zbGoods.ascx;
using System;
[PrivilegeCheck(Privilege.AddProductType)]
public class AddSpecification : AdminPage
{
protected SpecificationView specificationView;
protected AddSpecification() : base("m11", "zbspp07")
{
}
private void btnFilish_Click(object server, EventArgs e)
{
base.Response.Redirect(Globals.GetAdminAbsolutePath("/product/ProductTypes.aspx"), true);
}
protected void Page_Load(object sender, EventArgs e)
{
int num;
if ((!string.IsNullOrEmpty(base.Request["isCallback"]) && (base.Request["isCallback"] == "true")) && int.TryParse(base.Request["ValueId"], out num))
{
if (ProductTypeHelper.DeleteAttributeValue(num))
{
if (!string.IsNullOrEmpty(base.Request["ImageUrl"]))
{
StoreHelper.DeleteImage(base.Request["ImageUrl"]);
base.Response.Clear();
base.Response.ContentType = "application/json";
base.Response.Write("{\"Status\":\"true\"}");
base.Response.End();
}
else
{
base.Response.Clear();
base.Response.ContentType = "application/json";
base.Response.Write("{\"Status\":\"true\"}");
base.Response.End();
}
}
else
{
base.Response.Clear();
base.Response.ContentType = "application/json";
base.Response.Write("{\"Status\":\"false\"}");
base.Response.End();
}
}
if (!string.IsNullOrEmpty(base.Request["isAjax"]) && (base.Request["isAjax"] == "true"))
{
string str = base.Request["Mode"].ToString();
string str2 = "";
后面还有 79 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
