Beispiel #1
0
        public ActionResult AddShare()
        {
            int         OrderID  = DataConvert.CLng(Request.QueryString["OrderID"]);
            M_OrderList orderMod = orderBll.SelReturnModel(OrderID);

            if (orderMod.Userid != mu.UserID)
            {
                function.WriteErrMsg("你无权访问该订单"); return(Content(""));
            }
            if (orderMod.OrderStatus < (int)M_OrderList.StatusEnum.OrderFinish)
            {
                function.WriteErrMsg("订单未完结,不允许评价"); return(null);
            }
            ViewBag.dt = cartProBll.SelForRPT(OrderID, "comment");
            return(View(orderMod));
        }