EasyShop/Order/OrderView.aspx.cs
(开头部分) 15KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Policy;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using EasyShop;
using MyModels;
using System.Data;
namespace Mall.Order
{
public partial class OrderView :Base_Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Request.Form["btnSubmit"] != null)
{
Proc_Submit();
}
if (!IsPostBack)
{
Load_Data();
Init_AddrList();
}
}
protected bool IsOrderClose = false;
protected decimal sumAllPrice = 0M,jfPoint=0M;
protected decimal YlPrice = 0M, YlTransporPrice = 0M;
protected decimal YhPrice = 0M;//调整价格
public string xnString = string.Empty;
protected bool IsGift_Order,
IsUsedTicket;//是否已经使用购物券
protected string Javascript_Price;
void Load_Data()
{
object url_id = Request["order_id"];
int id;
if (postKey(url_id) == "" || !int.TryParse(url_id.ToString(), out id))
{
Response.Redirect("/index.aspx",true);
return;
}
string uid = MyModels.Global.DeCryStr(Login_UserId);
MyModels.TB_MC_Order to = new MyModels.TB_MC_Order();
to.Id = int.Parse(url_id.ToString());
YhPrice = to.GetYhPrice();
MyModels.Db.TB_MC_Order order=to.IsMyOrder(uid, int.Parse(url_id.ToString().Trim()));
if (order == null) return;
#region 增加配送方式
TB_MC_OrderMore tmm = new TB_MC_OrderMore();
if (tmm.CheckXuNi(" and OrderId=" + url_id + ""))
{
xnString = "";
}
else
后面还有 331 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。