Пример #1
0
    protected void Page_Load(object sender, EventArgs e)
    {
        string token   = PageRequest.GetQueryString("token");
        int    orderId = PageRequest.GetQueryInt("orderId", 0);
        //orderId = 31;
        var result = new Sys.BLL.Account().CheckToken(token);

        if (result)
        {
            //userLoginId = token.Split('|')[0];
        }
        else
        {
            Response.Write("<script>alert('Token验证失败');history.back(-1);</script>");
        }

        orderModel    = new Sys.BLL.Orders().GetModel(orderId);
        orderTypeList = new Sys.BLL.OrderType().GetModelList("OrderId=" + orderId);
        dtFlow        = new Sys.BLL.OrderStatusFlow().GetList(1000, "OrderId=" + orderId, "FlowId desc").Tables[0];

        new Sys.BLL.Orders().OrdersStatusInit(out lis);

        dtComment = new Sys.BLL.OrderComment().GetList("OrderId=" + orderId).Tables[0];
    }