Web/shop/express.aspx.cs

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using WMPT.Model;
using WMPT.SQLServerDAL;
using WMPT.Common;
using System.Web.UI.HtmlControls;
using WMPT.Control;
using WMPT.DBUtility;
//using tenpayApp;

/// <summary>
/// 商家 跑腿订单
/// </summary>
public partial class shop_express : System.Web.UI.Page
{
    ExpressOrder dal = new ExpressOrder();
    protected void Page_Load(object sender, EventArgs e)
    {
        UserHelp.IsLogin_Togo(Request.Url.PathAndQuery);

        if (!Page.IsPostBack)
        {
            //默认经纬度
            hidLat.Value = SectionProxyData.GetSetValue(4);
            hidLng.Value = SectionProxyData.GetSetValue(5);


            //得到商家经纬度
            ETogoLocalInfo infos = new ETogoLocal().GetInfoById(UserHelp.GetUser_Togo().Unid.ToString());
            this.hidflat.Value = infos.Lat;
            this.hidflng.Value = infos.Lng;


            List<string> times = new List<string>();
            DateTime now = DateTime.Now;
            now = now.AddHours(1);

            for (int hour = 0; hour <= 23; hour++)
            {
                times.Add(hour.ToString() + ":00");
                times.Add(hour.ToString() + ":30");
            }

            this.ddl_Time1.DataSource = times;
            this.ddl_Time1.DataBind();
            tbdate.Value = DateTime.Now.ToString("yyyy-MM-dd");

            //服务类型
            IList<STemplateInfo> list = SectionProxyData.GetExpressServeList();
            WebUtility.BindList("ID", "classname", list, ddlexpressserve);

        }
    }


后面还有 121 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。