LeaRun.WebApp/Controllers/HomeController.cs
(开头部分) 2KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using LeaRun.Business;
using LeaRun.DataAccess;
using LeaRun.Entity;
using LeaRun.Utilities;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using System.Web;
using System.Web.Mvc;
// 下载于www.51aspx.com
namespace LeaRun.WebApp.Controllers
{
public class HomeController : Controller
{
public Base_ModuleBll base_modulebll = new Base_ModuleBll();
#region 后台首页-手风琴菜单
/// <summary>
/// 手风琴UI
/// </summary>
/// <returns></returns>
public ActionResult AccordionIndex()
{
IManageUser imanageuser = new IManageUser();
imanageuser.UserId = "System";
imanageuser.Account = "System";
imanageuser.UserName = "System";
imanageuser.Gender = "超级管理员";
imanageuser.Code = "System";
imanageuser.LogTime = DateTime.Now;
imanageuser.CompanyId = "系统";
imanageuser.DepartmentId = "系统";
imanageuser.IsSystem = true;
ManageProvider.Provider.AddCurrent(imanageuser);
//对在线人数全局变量进行加1处理
HttpContext rq = System.Web.HttpContext.Current;
rq.Application["OnLineCount"] = (int)rq.Application["OnLineCount"] + 1;
ViewBag.Account = ManageProvider.Provider.Current().Account + "(" + ManageProvider.Provider.Current().UserName + ")";
return View();
}
/// <summary>
/// 手风琴-欢迎首页
/// </summary>
/// <returns></returns>
public ActionResult AccordionPage()
{
return View();
}
/// <summary>
/// 加载手风琴菜单
/// </summary>
/// <returns></returns>
public ActionResult LoadAccordionMenu()
{
后面还有 6 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
