Web/shop/buildorder.aspx.cs
(开头部分) 3KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using WMPT.SQLServerDAL;
using WMPT.Model;
using System.IO;
using WMPT.Common;
public partial class TogoHome_FoodDetailbuildorder : System.Web.UI.Page
{
Custorder orderdal = new Custorder();
protected void Page_Load(object sender, EventArgs e)
{
ValidatorSet validator = new ValidatorSet("Admin");
validator.SetValidator();
if (!this.Page.IsPostBack)
{
UserHelp.IsLogin_Togo(Request.Url.PathAndQuery);
PointsInfo togoinfo = UserHelp.GetUser_Togo();
OrderTime ot = new OrderTime(ddltime, togoinfo);
hidLat.Value = SectionProxyData.GetSetValue(4);
hidlocalflag.Value = SectionProxyData.GetSetValue(4);
hidLng.Value = SectionProxyData.GetSetValue(5);
}
}
protected void btSave_Click(object sender, EventArgs e)
{
PointsInfo shop = UserHelp.GetUser_Togo();
shop = new Points().GetModel(shop.Unid);
ETogoLocalInfo info = new ETogoLocalInfo();
ETogoLocal bll = new ETogoLocal();
info = bll.GetInfoById(shop.Unid.ToString());
CustorderInfo infoaddress = new CustorderInfo();
infoaddress.OrderRcver = WebUtility.InputText(this.tbuname.Text);
infoaddress.AddressText = WebUtility.InputText(this.tbaddress.Text) + WebUtility.InputText(tbaddressdetail.Text);
infoaddress.OrderComm = WebUtility.InputText(this.tbtel.Text.Trim());
infoaddress.OrderAttach = "[" + tbfoodcount.Text +"份餐]" + WebUtility.InputText(this.tbremark.Text.Trim());
infoaddress.paymode = 4;
infoaddress.SendTime = Convert.ToDateTime(ddltime.SelectedValue);
infoaddress.tempcode = "";
infoaddress.CustomerName = "";
infoaddress.UserId = 0;
infoaddress.fromweb = ((int)OrderSource.ShopCenter).ToString();
infoaddress.ReveVar1 = shop.sentorg;
string ulat = hidLat.Value;
string ulng = hidLng.Value;
if (ulat == SectionProxyData.GetSetValue(4))
{
ulat = "0";
ulng = "0";
}
后面还有 31 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
