WebSite/Handlers/Product/PriceData/PriceData.aspx.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using BLL;
using Common;
using Model;
using System;
using System.Configuration;
using System.Web.UI;
using System.Web.UI.HtmlControls;
namespace CRMSYS.Handlers.Product.PriceData
{
public partial class PriceData : Page
{
private static string Edition = DESEncrypt.Decrypt(ConfigurationManager.AppSettings["Edition"]);
protected void Page_Load(object sender, EventArgs e)
{
string text = base.Request.Params["Method"].ToString();
switch (text)
{
case "All":
{
int page = (base.Request["page"].ToString() == "0") ? 1 : Convert.ToInt32(base.Request["page"].ToString());
int rows = Convert.ToInt32(base.Request["rows"].ToString());
TCWL_B_PriceData jg = new TCWL_B_PriceData();
base.Response.Clear();
if (base.Request["where"] == null)
{
string srvid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
string where = "";
if (PriceData.Edition == "0")
{
where = " ServiceID = '" + srvid + "' ";
}
base.Response.Write(jg.SelectAll(where, "", (page - 1) * rows + 1, page * rows));
}
else
{
string name = base.Request["name"].ToString();
string value = base.Request["value"].ToString();
value = base.Server.UrlDecode(value);
string where = string.Concat(new string[]
{
" ",
name,
" like '%",
value,
"%' "
});
base.Response.Write(jg.SelectAll(where, "", (page - 1) * rows + 1, page * rows));
}
base.Response.End();
return;
}
case "Add":
{
TCWL_M_PriceData jg2 = new TCWL_M_PriceData();
jg2.priceName = base.Request.Form["jgmc"].ToString();
jg2.priceType = base.Request.Form["jglx"].ToString();
jg2.state = Convert.ToBoolean(base.Request.Form["zt"].ToString());
jg2.memon = base.Request.Form["bz"].ToString();
jg2.Serviceid = DESEncrypt.Decrypt(base.Request["srvid"].ToString());
TCWL_B_PriceData jgxx = new TCWL_B_PriceData();
后面还有 101 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
