SourceCode/jiouosdp/Areas/Theme/Controllers/MainController.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using jiouosdp.Controllers;
using RFrameGenerate.Common;
using RFrameGenerate.BLL;
namespace jiouosdp.Areas.Theme.Controllers
{
[LF(IsLoginFilter = false)]
[PF(IsPermissionFilter = false)]
public class MainController : BaseController
{
//
// GET: /Theme/Main/
[LF(IsLoginFilter = true)]
public ActionResult Control()
{
if (CurrentManage.LoginType != DictionaryConst.LoginType.Merchant && CurrentManage.LoginType != DictionaryConst.LoginType.Employee)
{
RFrameGenerate.Common.CurrentUser.SetCurrUser(string.Empty, Guid.Empty);
return Content("只能商家或员工才可以访问");
}
RFramework.PayCheck.LoginCheck();
return View();
}
[LF(IsLoginFilter = true)]
public ActionResult Agent()
{
if (CurrentManage.LoginType != DictionaryConst.LoginType.HeadOffice && CurrentManage.LoginType != DictionaryConst.LoginType.Agent)
{
RFrameGenerate.Common.CurrentUser.SetCurrUser(string.Empty, Guid.Empty);
return Content("只能总代理或员代理商才可以访问");
}
return View();
}
public ActionResult Panel()
{
return View();
}
//tab
public ActionResult tab()
{
return View();
}
public ActionResult Form()
{
return View();
}
public ActionResult Model()
{
return View();
后面还有 13 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。