示例#1
0
        /// <summary>
        /// 优惠劵列表
        /// </summary>
        public ActionResult CouponList()
        {
            int type = WebHelper.GetQueryInt("type");

            CouponListModel model = new CouponListModel()
            {
                ListType   = type,
                CouponList = Coupons.GetCouponList(WorkContext.Uid, type)
            };

            return(View(model));
        }