WmptWap/OrderSuccess.aspx.cs

(开头部分) 7KB

这里只显示每个文件的开头 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 Com.Alipay;
using System.Text;
using WMPT.Common;

namespace Html5
{
    public partial class OrderSuccess : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!Page.IsPostBack)
            {
                int isreg = Convert.ToInt32(Request["isreg"]);
                if (isreg == 1)
                {
                    string msg = "系统已经自动为您注册了帐号(手机号):<span class=\"orange\">" + Request["tel"] + "</span>,默认密码:<span class=\" orange\">123456</span>,请登录后及时修改";
                    regnotice.InnerHtml = msg;
                }
                else
                {
                    reghid.Visible = false;
                }

                IList<ROrderinfo> list = (IList<ROrderinfo>)Session["orderinfo"];
                if (list.Count > 0)
                {
                    string orders = "";
                    decimal p = 0;
                    decimal accountpay = 0;
                    decimal allprice = 0;
                    for (int i = 0; i < list.Count; i++)
                    {
                        orders += "  " + list[i].Orderid;
                        p += list[i].Currentprice;
                        allprice += list[i].allprice;
                        accountpay += list[i].accountpay;
                    }

                    //只提交一家的订单
                    lborderid.InnerHtml = orders;
                    Custorder dalorder = new Custorder();
                    CustorderInfo infoorder = dalorder.GetModel(list[0].Orderid);
                    payway.InnerHtml = WebUtility.TurnPayModel(infoorder.paymode);
                    lbprice.InnerHtml = (allprice).ToString();

                    Points dal = new Points();
                    PointsInfo info = dal.GetModel(Convert.ToInt32(list[0].togoid));
                    sendtime.InnerHtml = info.senttime.ToString();

                    if (Request["m"] != null && Request["m"].ToString() == "1")
后面还有 135 行代码,购买后查看完整代码

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

AI 解读 AI

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

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