code/Athena0.0.1/Web/Areas/SystemManage/Controllers/ResourceController.cs

(开头部分) 13KB

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

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Athena.model;
using Athena.basedal;
using Athena.Idal;
using Athena.dal;
using Athena.common.Util.WebControl;
using Web.Controllers.JqGrid;
using Athena.tool.Code;
using Athena.tool.ACEPagination;

//项目名称:Athena标准开发框架
//版本:0.0.1
//开发团队成员:周庆 张婷婷 王露 陈祚松 艾美珍 张梦丽 胡凯雨 陈兰兰 夏萍萍 康文洋 易传佳
//模块及代码页功能描述:资源控制器,添加ACE相关方法
//最后修改时间:2018-01-26
//修改日志:
//2018-01-26 新增ACE相关的方法(张婷婷)

namespace Web.Areas.SystemManage.Controllers
{
   
    public class ResourceController : WebController
    {
        public ResourceController()
        {
            #region  ACE
            this.noauth_actions.Add("ResourceIndex");
            this.noauth_actions.Add("ResourceGetModels");
            this.noauth_actions.Add("ResourceAdd");
            this.noauth_actions.Add("ResourceUpdate");
            this.noauth_actions.Add("ResourceDelete");
            #endregion
            #region  BootstrapTemplate
            this.noauth_actions.Add("ResourceGetTreeSelectJson");
            this.noauth_actions.Add("ResourceGetTreeGridJson");
            this.noauth_actions.Add("ResourceForm");
            this.noauth_actions.Add("ResourceGetFormJson");
            this.noauth_actions.Add("ResourcecopyAndPasteForm");
            this.noauth_actions.Add("ResourceDetails");
            this.noauth_actions.Add("ResourceSubmitForm");
            this.noauth_actions.Add("ResourcecopyAndPasteForm");
            this.noauth_actions.Add("ResourceDeleteForm");
            #endregion
        }
        /// <summary>
        /// 显示页面BootstrapTemplate
        /// </summary>
        /// <returns></returns>
        //public override ActionResult Index()
        //{
        //    return View();
        //}
        /// <summary>
        /// 显示页面ACE(页面视图入口)
        /// </summary>
        /// <returns></returns>
后面还有 302 行代码,解锁后查看完整代码

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

AI 解读

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

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