using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using RFrameGenerate.BLL;
using RFrameGenerate.Model;
using System.Net;
using RFrameGenerate.BLL.Products;
using RFrameGenerate.Common;
using Wechat;
using RFrameGenerate.BLL.Recharge;
using jiouosdp.Controllers;

namespace jiouosdp.Areas.IntegralTrading.Controllers
{
    public class WxIntegralTradingController : BaseWeiXinController
    {
        //
        // GET: /IntegralTrading/WxIntegralTrading/

        /// <summary>
        /// 前台-我的积分展示页
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            return View();
        }

        /// <summary>
        /// 获取积分数据
        /// </summary>
        /// <param name="IntegralTo"></param>
        /// <returns></returns>
        public JsonResult GetIntegralTradingWithLite(int? IntegralTo)
        {
            return Json(IntegralTradingManage.GetIntegralTradingWithLite(IntegralTo), JsonRequestBehavior.AllowGet);
        }




    }
}
