123456789101112131415161718192021222324252627282930 |
- using KJH55128_Rec.Business;
- using KJH55128_Rec.ViewModels;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Web;
- using System.Web.Mvc;
- namespace KJH55128_Rec.Controllers
- {
- /// <summary>
- /// 资讯
- /// </summary>
- public class ZXController : Controller
- {
- // GET: ZX
- [Route("zxlb.html")]
- public ActionResult Index()
- {
- List<News_Preview> model = ZXApiBLL.GetCacheHomeNewsList();//Ctrl.GetZXView() as List<News_Preview>;//ZXApiBLL.GetHomeNewsList();
- return View(model);
- }
- [Route("zxxq/{id}.html")]
- public ActionResult ZXXQ(string id)
- {
- GetZX_NewsDetails model = ZXApiBLL.GetNewsDetails(id);
- return View(model);
- }
- }
- }
|