EasyShop/siteAdmin/PaySet/AddPay.aspx.cs
(开头部分) 9KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Text;
using Ftion;
using OpSql;
using myNewsInfo;
using System.Data;
using MyModels;
namespace EasyShop.siteAdmin.PaySet
{
public partial class AddPay : System.Web.UI.Page
{
public string sltInterface = "";
public string jsString = "";
public string jcString = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
loadData();
}
}
public void Save_Click(object sender, EventArgs e)
{
Sys_Payment sp = new Sys_Payment();
sp.PayID = sp.GetMaxID();
sp.PayName = txt_payName.Text;
sp.PayTypeID = int.Parse(ddl_type.SelectedValue);
sp.PayInterfaceID = int.Parse(hideFaceId.Value);
sp.PayAccount = txt_PayAccount.Text;
sp.PayKey = txt_Key.Text;
sp.PayPID = txt_PID.Text;
sp.PayEmail = txt_Email.Text;
sp.TradeCode = txt_TradeCode.Text;
sp.TradeBarCode = txt_TradeBarCode.Text;
sp.TradeChildBankCode = txt_TradeChildBankCode.Text;
sp.PayeeAccount = txt_PayeeAccount.Text;
sp.PayRemark =Server.HtmlEncode(txtProNote.Value);
sp.CreateBy = conn.MyCookie.getCookie("UserID");
sp.CreateDate = sp.EditDate = DateTime.Now;
sp.IsStart = true;
sp.EditBy = conn.MyCookie.getCookie("UserID");
int k=sp.Add();
if (k > 0)
{
jcString += "alert(\"提交成功\");window.close();";
}
else
{
jcString += "alert(\"提交失败,请检查输入是否有误!\");window.close();";
}
}
public void loadData()
{
//获取ID
后面还有 153 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。