Web/Controllers/HomeController.cs

(开头部分) 6KB

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

using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Web.Controllers
{
    public class HomeController : Controller
    {
        //
        // GET: /Home/
        Conris.Services.UserInfoService server = new Conris.Services.UserInfoService();
      
        Conris.Services.NewsMainService newsserver = new Conris.Services.NewsMainService();
     
        Conris.Services.FY FY = new Conris.Services.FY();
        public ActionResult Index(Conris.DBA.ViewModel.FYSearch model)
        {
            return View(model);
        }

        [HttpPost]
        public JsonResult GetSilde()
        {
            List<Conris.DBA.Model.NewsMain> list = newsserver.GetTopModelList(5, "  PictureID!='' and PictureID is not null", " CreateTime");
            return Json(list);
        }

        public ActionResult Top(string flag)
        {
            ViewData["flag"] = flag;
            return View();
        }

        public ActionResult UCTop(string flag)
        {
            ViewData["flag"] = flag;
            return View();
        }

        public ActionResult JSXX(string ID,string Name)
        {
        if (!string.IsNullOrEmpty(Name))
	{
        return View(newsserver.GetModelList(" Title='" + Name + "'").FirstOrDefault());
	}
            return View(newsserver.GetModelList(" ID='" + ID + "'").FirstOrDefault());
        }

        [HttpPost]
        public JsonResult LogOff()
        {
            return Json(server.LogOut());
        }

     
      
        public ActionResult Order()
后面还有 192 行代码,购买后查看完整代码

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

AI 解读

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

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