Elight.WebUI/Areas/Sys/Controllers/OrganizeController.cs

(开头部分) 5KB

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

using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc;
using Elight.WebUI.Filters;
using Elight.Logic.Sys;
using Elight.Entity.Sys; 
using Elight.Utility.ResponseModels;
using Elight.Utility.Core;
using Elight.Utility.Operator;
using Elight.WebUI.Controllers;

namespace Elight.WebUI.Areas.Sys.Controllers
{
    [HiddenApi]
    [Area("Sys")]
    public class OrganizeController : BaseController
    {
        private SysOrganizeLogic organizeLogic;

        public OrganizeController()
        {
            organizeLogic = new SysOrganizeLogic();
        }


        [Route("system/organize/index")]
        [HttpGet, AuthorizeChecked]
        public ActionResult Index()
        {
            return View();
        }


        [Route("system/organize/index")]
        [HttpPost, AuthorizeChecked]
        public ActionResult Index(int pageIndex, int pageSize, string keyWord)
        {
            int totalCount = 0;
            var pageData = organizeLogic.GetList(pageIndex, pageSize, keyWord, ref totalCount);
            var result = new LayPadding<SysOrganize>()
            {
                result = true,
                msg = "success",
                list = pageData,
                count = totalCount//pageData.Count
            };
            return Content(result.ToJson());
        }


      




        [Route("system/organize/form")]
        [HttpGet, AuthorizeChecked]
        public ActionResult Form()
        {
            return View();
        }
后面还有 123 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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