diff --git a/README.md b/README.md
index 2fe67c3..cddc237 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,7 @@
* 支持加载动态权限菜单,多方式轻松权限控制
* 提供了技术栈(Ant Design Vue)版[Ant Design Vue](https://gitee.com/billzh/mc-dull.git)
* 七牛云通用云产品优惠券:[点我进入](https://s.qiniu.com/FzEfay)。
+* 阿里云优惠券:[点我领取](https://www.aliyun.com/minisite/goods?userCode=uotn5vt1&share_source=copy_link)。
* 腾讯云秒杀场:[点我进入](https://curl.qcloud.com/4yEoRquq)。
* 腾讯云优惠券:[点我领取](https://curl.qcloud.com/5J4nag8D)。
diff --git a/ZR.Admin.WebApi/Controllers/System/ArticleCategoryController.cs b/ZR.Admin.WebApi/Controllers/System/ArticleCategoryController.cs
index cf19b6a..eb89d60 100644
--- a/ZR.Admin.WebApi/Controllers/System/ArticleCategoryController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/ArticleCategoryController.cs
@@ -15,10 +15,6 @@ namespace ZR.Admin.WebApi.Controllers
{
///
/// 文章目录Controller
- ///
- /// @tableName articleCategory
- /// @author zr
- /// @date 2022-05-13
///
[Verify]
[Route("article/ArticleCategory")]
diff --git a/ZR.Admin.WebApi/Controllers/System/CommonLangController.cs b/ZR.Admin.WebApi/Controllers/System/CommonLangController.cs
index 04a89b0..5f99499 100644
--- a/ZR.Admin.WebApi/Controllers/System/CommonLangController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/CommonLangController.cs
@@ -20,9 +20,6 @@ namespace ZR.Admin.WebApi.Controllers
{
///
/// 多语言配置Controller
- ///
- /// @author zr
- /// @date 2022-05-06
///
[Verify]
[Route("system/CommonLang")]
diff --git a/ZR.Admin.WebApi/Controllers/System/SysConfigController.cs b/ZR.Admin.WebApi/Controllers/System/SysConfigController.cs
index 21962ea..6027f8b 100644
--- a/ZR.Admin.WebApi/Controllers/System/SysConfigController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/SysConfigController.cs
@@ -1,30 +1,24 @@
-using Microsoft.AspNetCore.Mvc;
-using System;
-using System.Collections.Generic;
-using System.Threading.Tasks;
-using SqlSugar;
using Infrastructure;
using Infrastructure.Attribute;
using Infrastructure.Enums;
+using Infrastructure.Extensions;
using Infrastructure.Model;
using Mapster;
-using ZR.Model.Dto;
+using Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Mvc;
+using SqlSugar;
using ZR.Admin.WebApi.Extensions;
using ZR.Admin.WebApi.Filters;
using ZR.Common;
-using ZR.Service.System;
+using ZR.Model.Dto;
using ZR.Model.System;
-using Infrastructure.Extensions;
-using Microsoft.AspNetCore.Authorization;
using ZR.Model.System.Dto;
+using ZR.Service.System;
namespace ZR.Admin.WebApi.Controllers
{
///
/// 参数配置Controller
- ///
- /// @author zhaorui
- /// @date 2021-09-29
///
[Verify]
[Route("system/config")]
diff --git a/ZR.Admin.WebApi/Controllers/System/SysDeptController.cs b/ZR.Admin.WebApi/Controllers/System/SysDeptController.cs
index 85df69b..019bf5d 100644
--- a/ZR.Admin.WebApi/Controllers/System/SysDeptController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/SysDeptController.cs
@@ -3,11 +3,9 @@ using Infrastructure.Attribute;
using Infrastructure.Enums;
using Microsoft.AspNetCore.Mvc;
using System.Collections;
-using ZR.Admin.WebApi.Extensions;
using ZR.Admin.WebApi.Filters;
using ZR.Common;
using ZR.Model.System;
-using ZR.Service;
using ZR.Service.System.IService;
namespace ZR.Admin.WebApi.Controllers.System
diff --git a/ZR.Admin.WebApi/Controllers/System/SysDictDataController.cs b/ZR.Admin.WebApi/Controllers/System/SysDictDataController.cs
index 60e69a8..86e7080 100644
--- a/ZR.Admin.WebApi/Controllers/System/SysDictDataController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/SysDictDataController.cs
@@ -12,7 +12,6 @@ namespace ZR.Admin.WebApi.Controllers.System
{
///
/// 数据字典信息
- /// @author zr
///
[Verify]
[Route("system/dict/data")]
diff --git a/ZR.Admin.WebApi/Controllers/System/SysLoginController.cs b/ZR.Admin.WebApi/Controllers/System/SysLoginController.cs
index ecf3c93..ee5bb7a 100644
--- a/ZR.Admin.WebApi/Controllers/System/SysLoginController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/SysLoginController.cs
@@ -1,26 +1,23 @@
-using Microsoft.AspNetCore.Authentication;
+using Hei.Captcha;
+using Infrastructure;
+using Infrastructure.Attribute;
+using Infrastructure.Model;
+using IPTools.Core;
+using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
+using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
-using System.Threading.Tasks;
+using UAParser;
using ZR.Admin.WebApi.Extensions;
using ZR.Admin.WebApi.Filters;
using ZR.Admin.WebApi.Framework;
-using Infrastructure.Model;
-using Infrastructure;
-using Infrastructure.Attribute;
+using ZR.Common;
using ZR.Model.System;
using ZR.Model.System.Dto;
-using ZR.Service.System.IService;
-using Hei.Captcha;
-using ZR.Common;
using ZR.Service.System;
-using Microsoft.Extensions.Options;
-using UAParser;
-using IPTools.Core;
-using Infrastructure.Extensions;
-using Microsoft.AspNetCore.Authorization;
+using ZR.Service.System.IService;
namespace ZR.Admin.WebApi.Controllers.System
{
diff --git a/ZR.Admin.WebApi/Controllers/System/SysMenuController.cs b/ZR.Admin.WebApi/Controllers/System/SysMenuController.cs
index c153739..c5047f7 100644
--- a/ZR.Admin.WebApi/Controllers/System/SysMenuController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/SysMenuController.cs
@@ -2,17 +2,19 @@
using Infrastructure.Attribute;
using Infrastructure.Enums;
using Infrastructure.Model;
+using Mapster;
using Microsoft.AspNetCore.Mvc;
using ZR.Admin.WebApi.Extensions;
using ZR.Admin.WebApi.Filters;
-using ZR.Model.System.Dto;
using ZR.Model.System;
+using ZR.Model.System.Dto;
using ZR.Service.System.IService;
-using ZR.Model;
-using Mapster;
namespace ZR.Admin.WebApi.Controllers.System
{
+ ///
+ /// 系统菜单
+ ///
[Verify]
[Route("/system/menu")]
public class SysMenuController : BaseController
@@ -29,7 +31,7 @@ namespace ZR.Admin.WebApi.Controllers.System
}
///
- /// 获取菜单列表 √
+ /// 获取菜单列表
///
///
[ActionPermissionFilter(Permission = "system:menu:list")]
@@ -41,7 +43,7 @@ namespace ZR.Admin.WebApi.Controllers.System
}
///
- /// 根据菜单编号获取详细信息 √
+ /// 根据菜单编号获取详细信息
///
///
///
@@ -86,7 +88,7 @@ namespace ZR.Admin.WebApi.Controllers.System
}
///
- /// 修改菜单 √
+ /// 修改菜单
///
///
///
@@ -121,7 +123,7 @@ namespace ZR.Admin.WebApi.Controllers.System
}
///
- /// 添加菜单 √
+ /// 添加菜单
///
///
///
@@ -147,7 +149,7 @@ namespace ZR.Admin.WebApi.Controllers.System
}
///
- /// 菜单删除 √
+ /// 菜单删除
///
///
///
diff --git a/ZR.Admin.WebApi/Controllers/System/SysNoticeController.cs b/ZR.Admin.WebApi/Controllers/System/SysNoticeController.cs
index 5a2cfd0..7ab3e32 100644
--- a/ZR.Admin.WebApi/Controllers/System/SysNoticeController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/SysNoticeController.cs
@@ -17,6 +17,9 @@ using ZR.Service.System.IService;
namespace ZR.Admin.WebApi.Controllers.System
{
+ ///
+ /// 系统通知
+ ///
[Verify]
[Route("system/notice")]
public class SysNoticeController : BaseController
diff --git a/ZR.Admin.WebApi/Controllers/System/SysProfileController.cs b/ZR.Admin.WebApi/Controllers/System/SysProfileController.cs
index 4c9ead2..bfbda91 100644
--- a/ZR.Admin.WebApi/Controllers/System/SysProfileController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/SysProfileController.cs
@@ -7,30 +7,27 @@ using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;
-using System;
-using System.IO;
+using System.Threading.Tasks;
using ZR.Admin.WebApi.Extensions;
using ZR.Admin.WebApi.Filters;
-using ZR.Common;
-using ZR.Model.System.Dto;
using ZR.Model.System;
+using ZR.Model.System.Dto;
using ZR.Service.System.IService;
-using Infrastructure.Extensions;
-using System.Threading.Tasks;
namespace ZR.Admin.WebApi.Controllers.System
{
+ ///
+ /// 个人中心
+ ///
[Verify]
[Route("system/user/profile")]
public class SysProfileController : BaseController
{
- private NLog.Logger logger = NLog.LogManager.GetCurrentClassLogger();
private readonly ISysUserService UserService;
private readonly ISysRoleService RoleService;
private readonly ISysUserPostService UserPostService;
private readonly ISysDeptService DeptService;
private readonly ISysFileService FileService;
- private OptionsSetting OptionsSetting;
private IWebHostEnvironment hostEnvironment;
public SysProfileController(
@@ -39,7 +36,6 @@ namespace ZR.Admin.WebApi.Controllers.System
ISysUserPostService postService,
ISysDeptService deptService,
ISysFileService sysFileService,
- IOptions options,
IWebHostEnvironment hostEnvironment)
{
UserService = userService;
@@ -47,7 +43,6 @@ namespace ZR.Admin.WebApi.Controllers.System
UserPostService = postService;
DeptService = deptService;
FileService = sysFileService;
- OptionsSetting = options.Value;
this.hostEnvironment = hostEnvironment;
}
diff --git a/ZR.Admin.WebApi/Controllers/System/SysRoleController.cs b/ZR.Admin.WebApi/Controllers/System/SysRoleController.cs
index c125abe..e9b7a0f 100644
--- a/ZR.Admin.WebApi/Controllers/System/SysRoleController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/SysRoleController.cs
@@ -19,8 +19,6 @@ namespace ZR.Admin.WebApi.Controllers.System
[Route("system/role")]
public class SysRoleController : BaseController
{
- readonly NLog.Logger Logger = NLog.LogManager.GetCurrentClassLogger();
-
private readonly ISysRoleService sysRoleService;
public SysRoleController(
@@ -56,7 +54,7 @@ namespace ZR.Admin.WebApi.Controllers.System
}
///
- /// 添加角色 √
+ /// 添加角色
///
///
///
diff --git a/ZR.Admin.WebApi/Controllers/System/SysUserController.cs b/ZR.Admin.WebApi/Controllers/System/SysUserController.cs
index 3f86217..7e6372d 100644
--- a/ZR.Admin.WebApi/Controllers/System/SysUserController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/SysUserController.cs
@@ -2,12 +2,10 @@ using Infrastructure.Attribute;
using Infrastructure.Enums;
using Infrastructure.Model;
using Microsoft.AspNetCore.Authorization;
-using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using System.Collections.Generic;
using System.IO;
-using System.Linq;
using ZR.Admin.WebApi.Extensions;
using ZR.Admin.WebApi.Filters;
using ZR.Common;
@@ -17,6 +15,9 @@ using ZR.Service.System.IService;
namespace ZR.Admin.WebApi.Controllers.System
{
+ ///
+ /// 用户管理
+ ///
[Verify]
[Route("system/user")]
public class SysUserController : BaseController
diff --git a/ZR.Admin.WebApi/Controllers/System/SysUserRoleController.cs b/ZR.Admin.WebApi/Controllers/System/SysUserRoleController.cs
index e554afd..6a145c8 100644
--- a/ZR.Admin.WebApi/Controllers/System/SysUserRoleController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/SysUserRoleController.cs
@@ -7,6 +7,9 @@ using ZR.Service.System.IService;
namespace ZR.Admin.WebApi.Controllers.System
{
+ ///
+ /// 用户角色管理
+ ///
[Verify]
[Route("system/userRole")]
public class SysUserRoleController : BaseController
diff --git a/ZR.Admin.WebApi/Controllers/System/TasksLogController.cs b/ZR.Admin.WebApi/Controllers/System/TasksLogController.cs
index 2fef913..b105864 100644
--- a/ZR.Admin.WebApi/Controllers/System/TasksLogController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/TasksLogController.cs
@@ -13,6 +13,9 @@ using Infrastructure;
namespace ZR.Admin.WebApi.Controllers.System
{
+ ///
+ /// 任务日志
+ ///
[Verify]
[Route("/monitor/jobLog")]
public class TasksLogController : BaseController
diff --git a/ZR.Admin.WebApi/Controllers/System/monitor/MonitorController.cs b/ZR.Admin.WebApi/Controllers/System/monitor/MonitorController.cs
index 1bc21b8..5e82e09 100644
--- a/ZR.Admin.WebApi/Controllers/System/monitor/MonitorController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/monitor/MonitorController.cs
@@ -11,7 +11,9 @@ using System.Runtime.InteropServices;
namespace ZR.Admin.WebApi.Controllers.monitor
{
- //[Verify]
+ ///
+ /// 系统监控
+ ///
public class MonitorController : BaseController
{
private OptionsSetting Options;
diff --git a/ZR.Admin.WebApi/Controllers/System/monitor/SysOperlogController.cs b/ZR.Admin.WebApi/Controllers/System/monitor/SysOperlogController.cs
index 3bf7224..7712044 100644
--- a/ZR.Admin.WebApi/Controllers/System/monitor/SysOperlogController.cs
+++ b/ZR.Admin.WebApi/Controllers/System/monitor/SysOperlogController.cs
@@ -12,6 +12,9 @@ using ZR.Service.System.IService;
namespace ZR.Admin.WebApi.Controllers.monitor
{
+ ///
+ /// 操作日志记录
+ ///
[Verify]
[Route("/monitor/operlog")]
public class SysOperlogController : BaseController