QiFeng.ZWY.MagWeb/Controllers/OrderController.cs

(开头部分) 37KB

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

using QiFeng.LMSD.Bll;
using QiFeng.LMSD.Model;
using QiFeng.LMSD.Model.EnumModel;
using QiFeng.LMSD.Utility;
using QiFeng.LMSD.Utility.EnumTools;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Aop.Api;
using Aop.Api.Request;
using Aop.Api.Response;
using QiFeng.LMSD.Bll.BllExt;
using Top.Api;
using Top.Api.Request;
using Top.Api.Response;
using Aliyun.Acs.Core.Profile;
using Aliyun.Acs.Core;
using Aliyun.Acs.Dysmsapi.Model.V20170525;

namespace QiFeng.LMSD.MagWeb.Controllers
{
    public class OrderController : BaseController
    {
        private readonly OrdersBll OrdersBll = new OrdersBll();
        private readonly ConsumerBll consumerBll = new ConsumerBll();
        private readonly ConsumerReceivingAddressBll consumerReceivingAddressBll = new ConsumerReceivingAddressBll();
        private readonly OrderCommBll orderCommBll = new OrderCommBll();
        private readonly OrderCommentBll orderCommentBll = new OrderCommentBll();
        private readonly CommodityBll commodityBll = new CommodityBll();
        private readonly ReturnGoodsBll returnGoodsBll = new ReturnGoodsBll();
        private readonly PaymentDetailsBll paymentDetailsBll = new PaymentDetailsBll();
        private readonly ZhiWYPublicParameterBll zhiWYPublicParameterBll = new ZhiWYPublicParameterBll();
        private readonly ZhiWYProjectParBll zhiWYProjectParBll = new ZhiWYProjectParBll();
        private readonly ZhiWYParameterExpressBll zhiWYParameterExpressBll = new ZhiWYParameterExpressBll();
        #region 用户订单管理
        /// <summary>
        /// 订单列表
        /// </summary>
        /// <returns></returns>
        [PermissionFilter]
        public ActionResult OrderList()
        {
            var dealStatus = EnumUtil.GetEnumDescriptions(typeof(OrderStatus));
            List<SelectListItem> dealStatusList = new List<SelectListItem>();
            foreach (var item in dealStatus)
            {
                dealStatusList.Add(new SelectListItem() { Text = item.Value, Value = item.Key });
            }
            ViewData["dealStatusList"] = new SelectList(dealStatusList, "Value", "Text");

            var returnGoodsStatus = EnumUtil.GetEnumDescriptions(typeof(ReturnGoodsStatus));
            List<SelectListItem> returnGoodsStatusList = new List<SelectListItem>();
            foreach (var item in returnGoodsStatus)
            {
                returnGoodsStatusList.Add(new SelectListItem() { Text = item.Value, Value = item.Key });
            }
            ViewData["returnGoodsStatusList"] = new SelectList(returnGoodsStatusList, "Value", "Text");
            ViewData["one"] = "one";
后面还有 728 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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