feat: 忽略部分请求日志
This commit is contained in:
parent
6cb6961b38
commit
025a8c26da
|
@ -4,6 +4,7 @@ import io.swagger.v3.oas.annotations.media.Schema;
|
|||
import jakarta.validation.constraints.Min;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import jakarta.validation.constraints.Pattern;
|
||||
import lombok.Getter;
|
||||
import lombok.Setter;
|
||||
import lombok.experimental.Accessors;
|
||||
|
@ -94,6 +95,7 @@ public class WebConfigurationDto {
|
|||
private boolean sidebarStatus;
|
||||
|
||||
@Schema(name = "EpThemeColor", description = "主题颜色")
|
||||
@Pattern(regexp = "^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$", message = "主题色不是Hash值")
|
||||
@NotNull(message = "主题颜色不能为空")
|
||||
private String epThemeColor;
|
||||
|
||||
|
|
|
@ -5,11 +5,11 @@ import cn.bunny.dao.entity.configuration.WebConfiguration;
|
|||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.configuration.WebConfigurationVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.configuration.ConfigurationService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import jakarta.validation.Valid;
|
||||
import lombok.SneakyThrows;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import reactor.core.publisher.Mono;
|
||||
|
@ -22,14 +22,14 @@ public class ConfigurationController {
|
|||
@Autowired
|
||||
private ConfigurationService configurationService;
|
||||
|
||||
@SneakyThrows
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "读取web配置文件", description = "读取web配置文件")
|
||||
@GetMapping("noAuth/webConfig")
|
||||
public WebConfiguration webConfig() {
|
||||
return configurationService.webConfig();
|
||||
}
|
||||
|
||||
@SneakyThrows
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取修改web配置文件", description = "获取修改web配置文件")
|
||||
@GetMapping("getWebConfig")
|
||||
public Mono<Result<WebConfigurationVo>> getWebConfig() {
|
||||
|
|
|
@ -8,6 +8,7 @@ import cn.bunny.dao.pojo.result.PageResult;
|
|||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.system.MenuIconVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.configuration.MenuIconService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -36,6 +37,7 @@ public class MenuIconController {
|
|||
@Autowired
|
||||
private MenuIconService menuIconService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询系统菜单图标", description = "分页查询系统菜单图标")
|
||||
@GetMapping("getMenuIconList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<MenuIconVo>>> getMenuIconList(
|
||||
|
@ -49,6 +51,7 @@ public class MenuIconController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取查询图标名称列", description = "获取查询图标名称列")
|
||||
@GetMapping("noManage/getIconNameList")
|
||||
public Mono<Result<List<MenuIconVo>>> getIconNameList(String iconName) {
|
||||
|
|
|
@ -8,6 +8,7 @@ import cn.bunny.dao.pojo.result.PageResult;
|
|||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.system.email.EmailTemplateVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.email.EmailTemplateService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -37,6 +38,7 @@ public class EmailTemplateController {
|
|||
@Autowired
|
||||
private EmailTemplateService emailTemplateService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询邮件模板", description = "分页查询邮件模板")
|
||||
@GetMapping("getEmailTemplateList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<EmailTemplateVo>>> getEmailTemplateList(
|
||||
|
@ -50,6 +52,7 @@ public class EmailTemplateController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取邮件模板类型字段", description = "获取邮件模板类型字段")
|
||||
@GetMapping("getEmailTypes")
|
||||
public Mono<Result<List<Map<String, String>>>> getEmailTypes() {
|
||||
|
|
|
@ -9,6 +9,7 @@ import cn.bunny.dao.pojo.result.PageResult;
|
|||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.system.email.EmailUsersVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.email.EmailUsersService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -38,6 +39,7 @@ public class EmailUsersController {
|
|||
@Autowired
|
||||
private EmailUsersService emailUsersService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询邮箱用户发送配置", description = "分页查询邮箱用户发送配置")
|
||||
@GetMapping("getEmailUsersList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<EmailUsersVo>>> getEmailUsersList(
|
||||
|
@ -51,6 +53,7 @@ public class EmailUsersController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取所有邮箱配置用户", description = "获取所有邮箱配置用户")
|
||||
@GetMapping("noManage/getAllMailboxConfigurationUsers")
|
||||
public Mono<Result<List<Map<String, String>>>> getAllMailboxConfigurationUsers() {
|
||||
|
|
|
@ -14,6 +14,7 @@ import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
|||
import cn.bunny.dao.vo.financial.admin.BillVo;
|
||||
import cn.bunny.dao.vo.financial.user.BillUserVo;
|
||||
import cn.bunny.dao.vo.financial.user.expendAndIncome.ExpendWithIncomeListVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.financial.BillService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -44,6 +45,7 @@ public class BillController {
|
|||
@Autowired
|
||||
private BillService billService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询账单信息", description = "分页查询账单信息")
|
||||
@GetMapping("getBillList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<BillVo>>> getBillList(
|
||||
|
@ -57,6 +59,7 @@ public class BillController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "用户分页查询账单信息", description = "用户分页查询账单信息")
|
||||
@GetMapping("noManage/getUserBillList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<BillUserVo>>> getUserBillList(
|
||||
|
@ -70,6 +73,7 @@ public class BillController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "账单收入和支出图表展示", description = "账单收入和支出图表展示")
|
||||
@GetMapping("noManage/getExpendOrIncome")
|
||||
public Mono<Result<ExpendWithIncomeListVo>> getExpendOrIncome(IncomeExpenseQueryDto dto) {
|
||||
|
|
|
@ -26,13 +26,13 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* <p>
|
||||
* 预算分类表表 前端控制器
|
||||
* 预算分类表 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author Bunny
|
||||
* @since 2024-11-11 15:36:57
|
||||
*/
|
||||
@Tag(name = "预算分类表", description = "预算分类表相关接口")
|
||||
@Tag(name = "预算分类", description = "预算分类相关接口")
|
||||
@RestController
|
||||
@RequestMapping("admin/budgetCategory")
|
||||
public class BudgetCategoryController {
|
||||
|
@ -54,7 +54,7 @@ public class BudgetCategoryController {
|
|||
return Mono.just(Result.success(voList));
|
||||
}
|
||||
|
||||
@Operation(summary = "分页查询预算分类表", description = "分页查询预算分类表")
|
||||
@Operation(summary = "分页查询预算分类", description = "分页查询预算分类")
|
||||
@GetMapping("getBudgetCategoryList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<BudgetCategoryVo>>> getBudgetCategoryList(
|
||||
@Parameter(name = "page", description = "当前页", required = true)
|
||||
|
@ -67,7 +67,7 @@ public class BudgetCategoryController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@Operation(summary = "用户分页查询预算分类表", description = "用户分页查询预算分类表")
|
||||
@Operation(summary = "用户分页查询预算分类", description = "用户分页查询预算分类")
|
||||
@GetMapping("noManage/getUserBudgetCategoryList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<BudgetCategoryUserVo>>> getUserBudgetCategoryList(
|
||||
@Parameter(name = "page", description = "当前页", required = true)
|
||||
|
@ -80,42 +80,42 @@ public class BudgetCategoryController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@Operation(summary = "添加预算分类表", description = "添加预算分类表")
|
||||
@Operation(summary = "添加预算分类", description = "添加预算分类")
|
||||
@PostMapping("addBudgetCategory")
|
||||
public Mono<Result<String>> addBudgetCategory(@Valid @RequestBody BudgetCategoryAddDto dto) {
|
||||
budgetCategoryService.addBudgetCategory(dto);
|
||||
return Mono.just(Result.success(ResultCodeEnum.ADD_SUCCESS));
|
||||
}
|
||||
|
||||
@Operation(summary = "用户添加预算分类表", description = "用户添加预算分类表")
|
||||
@Operation(summary = "用户添加预算分类", description = "用户添加预算分类")
|
||||
@PostMapping("noManage/addUserBudgetCategory")
|
||||
public Mono<Result<String>> addUserBudgetCategory(@Valid @RequestBody BudgetCategoryAddByUserDto dto) {
|
||||
budgetCategoryService.addUserBudgetCategory(dto);
|
||||
return Mono.just(Result.success(ResultCodeEnum.ADD_SUCCESS));
|
||||
}
|
||||
|
||||
@Operation(summary = "更新预算分类表", description = "更新预算分类表")
|
||||
@Operation(summary = "更新预算分类", description = "更新预算分类")
|
||||
@PutMapping("updateBudgetCategory")
|
||||
public Mono<Result<String>> updateBudgetCategory(@Valid @RequestBody BudgetCategoryUpdateDto dto) {
|
||||
budgetCategoryService.updateBudgetCategory(dto);
|
||||
return Mono.just(Result.success(ResultCodeEnum.UPDATE_SUCCESS));
|
||||
}
|
||||
|
||||
@Operation(summary = "用户更新预算分类表", description = "用户更新预算分类表")
|
||||
@Operation(summary = "用户更新预算分类", description = "用户更新预算分类")
|
||||
@PutMapping("noManage/updateUserBudgetCategory")
|
||||
public Mono<Result<String>> updateUserBudgetCategory(@Valid @RequestBody BudgetCategoryUpdateByUserDto dto) {
|
||||
budgetCategoryService.updateUserBudgetCategory(dto);
|
||||
return Mono.just(Result.success(ResultCodeEnum.UPDATE_SUCCESS));
|
||||
}
|
||||
|
||||
@Operation(summary = "删除预算分类表", description = "删除预算分类表")
|
||||
@Operation(summary = "删除预算分类", description = "删除预算分类")
|
||||
@DeleteMapping("deleteBudgetCategory")
|
||||
public Mono<Result<String>> deleteBudgetCategory(@RequestBody List<Long> ids) {
|
||||
budgetCategoryService.deleteBudgetCategory(ids);
|
||||
return Mono.just(Result.success(ResultCodeEnum.DELETE_SUCCESS));
|
||||
}
|
||||
|
||||
@Operation(summary = "用户删除预算分类表", description = "用户删除预算分类表")
|
||||
@Operation(summary = "用户删除预算分类", description = "用户删除预算分类")
|
||||
@DeleteMapping("noManage/deleteUserBudgetCategory")
|
||||
public Mono<Result<String>> deleteUserBudgetCategory(@RequestBody List<Long> ids) {
|
||||
budgetCategoryService.deleteUserBudgetCategory(ids);
|
||||
|
|
|
@ -10,6 +10,7 @@ import cn.bunny.dao.pojo.result.Result;
|
|||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.financial.admin.CategoryVo;
|
||||
import cn.bunny.dao.vo.financial.user.CategoryUserVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.financial.CategoryService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -38,6 +39,7 @@ public class CategoryController {
|
|||
@Autowired
|
||||
private CategoryService categoryService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "查询当前用户下所有的分类", description = "查询当前用户下所有的分类")
|
||||
@GetMapping("noManage/getCategoryUserAllList")
|
||||
public Mono<Result<List<CategoryUserVo>>> getCategoryUserAllList(@RequestParam(required = false) Long userId) {
|
||||
|
@ -45,6 +47,7 @@ public class CategoryController {
|
|||
return Mono.just(Result.success(voList));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询分类信息", description = "分页查询分类信息")
|
||||
@GetMapping("getCategoryList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<CategoryVo>>> getCategoryList(
|
||||
|
@ -58,6 +61,7 @@ public class CategoryController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "用户分类分页查询分类信息", description = "用户分类分页查询分类信息")
|
||||
@GetMapping("noManage/getCategoryUserList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<CategoryUserVo>>> getCategoryUserList(
|
||||
|
|
|
@ -11,6 +11,7 @@ import cn.bunny.dao.pojo.result.Result;
|
|||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.financial.admin.DebtRepaymentPlanVo;
|
||||
import cn.bunny.dao.vo.financial.user.DebtRepaymentPlanUserVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.financial.DebtRepaymentPlanService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -25,13 +26,13 @@ import java.util.List;
|
|||
|
||||
/**
|
||||
* <p>
|
||||
* 债务还款计划表表 前端控制器
|
||||
* 债务还款计划 前端控制器
|
||||
* </p>
|
||||
*
|
||||
* @author Bunny
|
||||
* @since 2024-11-11 14:59:53
|
||||
*/
|
||||
@Tag(name = "债务还款计划表", description = "债务还款计划表相关接口")
|
||||
@Tag(name = "债务还款计划", description = "债务还款计划相关接口")
|
||||
@RestController
|
||||
@RequestMapping("admin/debtRepaymentPlan")
|
||||
public class DebtRepaymentPlanController {
|
||||
|
@ -39,7 +40,8 @@ public class DebtRepaymentPlanController {
|
|||
@Autowired
|
||||
private DebtRepaymentPlanService debtRepaymentPlanService;
|
||||
|
||||
@Operation(summary = "分页查询债务还款计划表", description = "分页查询债务还款计划表")
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询债务还款计划", description = "分页查询债务还款计划")
|
||||
@GetMapping("getDebtRepaymentPlanList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<DebtRepaymentPlanVo>>> getDebtRepaymentPlanList(
|
||||
@Parameter(name = "page", description = "当前页", required = true)
|
||||
|
@ -52,7 +54,8 @@ public class DebtRepaymentPlanController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@Operation(summary = "用户分页查询债务还款计划表", description = "用户分页查询债务还款计划表")
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "用户分页查询债务还款计划", description = "用户分页查询债务还款计划")
|
||||
@GetMapping("noManage/getUserDebtRepaymentPlanList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<DebtRepaymentPlanUserVo>>> getUserDebtRepaymentPlanList(
|
||||
@Parameter(name = "page", description = "当前页", required = true)
|
||||
|
@ -65,42 +68,42 @@ public class DebtRepaymentPlanController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@Operation(summary = "添加债务还款计划表", description = "添加债务还款计划表")
|
||||
@Operation(summary = "添加债务还款计划", description = "添加债务还款计划")
|
||||
@PostMapping("addDebtRepaymentPlan")
|
||||
public Mono<Result<String>> addDebtRepaymentPlan(@Valid @RequestBody DebtRepaymentPlanAddDto dto) {
|
||||
debtRepaymentPlanService.addDebtRepaymentPlan(dto);
|
||||
return Mono.just(Result.success(ResultCodeEnum.ADD_SUCCESS));
|
||||
}
|
||||
|
||||
@Operation(summary = "用户添加债务还款计划表", description = "用户添加债务还款计划表")
|
||||
@Operation(summary = "用户添加债务还款计划", description = "用户添加债务还款计划")
|
||||
@PostMapping("noManage/addUserDebtRepaymentPlan")
|
||||
public Mono<Result<String>> addUserDebtRepaymentPlan(@Valid @RequestBody DebtRepaymentPlanAddByUserDto dto) {
|
||||
debtRepaymentPlanService.addUserDebtRepaymentPlan(dto);
|
||||
return Mono.just(Result.success(ResultCodeEnum.ADD_SUCCESS));
|
||||
}
|
||||
|
||||
@Operation(summary = "更新债务还款计划表", description = "更新债务还款计划表")
|
||||
@Operation(summary = "更新债务还款计划", description = "更新债务还款计划")
|
||||
@PutMapping("updateDebtRepaymentPlan")
|
||||
public Mono<Result<String>> updateDebtRepaymentPlan(@Valid @RequestBody DebtRepaymentPlanUpdateDto dto) {
|
||||
debtRepaymentPlanService.updateDebtRepaymentPlan(dto);
|
||||
return Mono.just(Result.success(ResultCodeEnum.UPDATE_SUCCESS));
|
||||
}
|
||||
|
||||
@Operation(summary = "用户更新债务还款计划表", description = "用户更新债务还款计划表")
|
||||
@Operation(summary = "用户更新债务还款计划", description = "用户更新债务还款计划")
|
||||
@PutMapping("noManage/updateUserDebtRepaymentPlan")
|
||||
public Mono<Result<String>> updateUserDebtRepaymentPlan(@Valid @RequestBody DebtRepaymentPlanUpdateByUserDto dto) {
|
||||
debtRepaymentPlanService.updateUserDebtRepaymentPlan(dto);
|
||||
return Mono.just(Result.success(ResultCodeEnum.UPDATE_SUCCESS));
|
||||
}
|
||||
|
||||
@Operation(summary = "删除债务还款计划表", description = "删除债务还款计划表")
|
||||
@Operation(summary = "删除债务还款计划", description = "删除债务还款计划")
|
||||
@DeleteMapping("deleteDebtRepaymentPlan")
|
||||
public Mono<Result<String>> deleteDebtRepaymentPlan(@RequestBody List<Long> ids) {
|
||||
debtRepaymentPlanService.deleteDebtRepaymentPlan(ids);
|
||||
return Mono.just(Result.success(ResultCodeEnum.DELETE_SUCCESS));
|
||||
}
|
||||
|
||||
@Operation(summary = "用户删除债务还款计划表", description = "用户删除债务还款计划表")
|
||||
@Operation(summary = "用户删除债务还款计划", description = "用户删除债务还款计划")
|
||||
@DeleteMapping("noManage/deleteUserDebtRepaymentPlan")
|
||||
public Mono<Result<String>> deleteUserDebtRepaymentPlan(@RequestBody List<Long> ids) {
|
||||
debtRepaymentPlanService.deleteUserDebtRepaymentPlan(ids);
|
||||
|
|
|
@ -11,6 +11,7 @@ import cn.bunny.dao.pojo.result.Result;
|
|||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.financial.admin.DebtTrackingVo;
|
||||
import cn.bunny.dao.vo.financial.user.DebtTrackingUserVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.financial.DebtTrackingService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -39,6 +40,7 @@ public class DebtTrackingController {
|
|||
@Autowired
|
||||
private DebtTrackingService debtTrackingService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询债务追踪", description = "分页查询债务追踪")
|
||||
@GetMapping("getDebtTrackingList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<DebtTrackingVo>>> getDebtTrackingList(
|
||||
|
@ -52,6 +54,7 @@ public class DebtTrackingController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "用户分页查询债务追踪", description = "用户分页查询债务追踪")
|
||||
@GetMapping("noManage/getUserDebtTrackingList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<DebtTrackingUserVo>>> getUserDebtTrackingList(
|
||||
|
|
|
@ -11,6 +11,7 @@ import cn.bunny.dao.pojo.result.Result;
|
|||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.financial.admin.SavingGoalVo;
|
||||
import cn.bunny.dao.vo.financial.user.SavingGoalUserVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.financial.SavingGoalService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -39,6 +40,7 @@ public class SavingGoalController {
|
|||
@Autowired
|
||||
private SavingGoalService savingGoalService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询用户储值", description = "分页查询用户储值")
|
||||
@GetMapping("getSavingGoalList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<SavingGoalVo>>> getSavingGoalList(
|
||||
|
@ -52,6 +54,7 @@ public class SavingGoalController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "用户分页查询用户储值", description = "用户分页查询用户储值")
|
||||
@GetMapping("noManage/getUserSavingGoalList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<SavingGoalUserVo>>> getUserSavingGoalList(
|
||||
|
|
|
@ -8,6 +8,7 @@ import cn.bunny.dao.pojo.result.PageResult;
|
|||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.i18n.I18nVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.i18n.I18nService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -37,6 +38,7 @@ public class I18nController {
|
|||
@Autowired
|
||||
private I18nService i18nService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取多语言内容", description = "获取多语言内容")
|
||||
@GetMapping("getI18n")
|
||||
public Mono<Result<Map<String, Object>>> getI18n() {
|
||||
|
@ -44,6 +46,7 @@ public class I18nController {
|
|||
return Mono.just(Result.success(vo));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取管理多语言列", description = "获取管理多语言列")
|
||||
@GetMapping("getI18nList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<I18nVo>>> getI18nList(
|
||||
|
|
|
@ -6,6 +6,7 @@ import cn.bunny.dao.dto.i18n.I18nTypeUpdateDto;
|
|||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.i18n.I18nTypeVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.i18n.I18nTypeService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
@ -32,6 +33,7 @@ public class I18nTypeController {
|
|||
@Autowired
|
||||
private I18nTypeService i18nTypeService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取多语言类型", description = "获取多语言类型")
|
||||
@GetMapping("/noAuth/getI18nTypeList")
|
||||
public Mono<Result<List<I18nTypeVo>>> getI18nTypeList(I18nTypeDto dto) {
|
||||
|
|
|
@ -10,6 +10,7 @@ import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
|||
import cn.bunny.dao.vo.system.message.MessageDetailVo;
|
||||
import cn.bunny.dao.vo.system.message.MessageReceivedWithUserVo;
|
||||
import cn.bunny.dao.vo.system.message.MessageVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.message.MessageService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -38,6 +39,7 @@ public class MessageController {
|
|||
@Autowired
|
||||
private MessageService messageService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询发送消息", description = "分页查询发送消息")
|
||||
@GetMapping("getMessageList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<MessageVo>>> getMessageList(
|
||||
|
@ -51,6 +53,7 @@ public class MessageController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "根据消息id查询消息详情", description = "根据消息id查询消息详情")
|
||||
@GetMapping("noManage/getMessageDetailById")
|
||||
public Mono<Result<MessageDetailVo>> getMessageDetailById(Long id) {
|
||||
|
@ -58,6 +61,7 @@ public class MessageController {
|
|||
return Mono.just(Result.success(vo));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "根据消息id获取接收人信息", description = "根据消息id获取接收人信息")
|
||||
@GetMapping("noManage/getReceivedUserinfoByMessageId")
|
||||
public Mono<Result<List<MessageReceivedWithUserVo>>> getReceivedUserinfoByMessageId(Long messageId) {
|
||||
|
|
|
@ -9,6 +9,7 @@ import cn.bunny.dao.pojo.result.Result;
|
|||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.system.message.MessageReceivedWithMessageVo;
|
||||
import cn.bunny.dao.vo.system.message.MessageUserVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.message.MessageReceivedService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -37,6 +38,7 @@ public class MessageReceivedController {
|
|||
@Autowired
|
||||
private MessageReceivedService messageReceivedService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "管理员分页查询用户消息", description = "管理员分页查询用户消息")
|
||||
@GetMapping("getMessageReceivedList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<MessageReceivedWithMessageVo>>> getMessageReceivedList(
|
||||
|
@ -64,6 +66,7 @@ public class MessageReceivedController {
|
|||
return Mono.just(Result.success(ResultCodeEnum.DELETE_SUCCESS));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询用户消息", description = "分页查询用户消息")
|
||||
@GetMapping("noManage/getUserMessageList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<MessageUserVo>>> getUserMessageList(
|
||||
|
@ -77,6 +80,7 @@ public class MessageReceivedController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "用户将消息标为已读", description = "用户将消息标为已读")
|
||||
@PutMapping("noManage/userMarkAsRead")
|
||||
public Mono<Result<String>> userMarkAsRead(@Valid @RequestBody List<Long> ids) {
|
||||
|
@ -84,6 +88,7 @@ public class MessageReceivedController {
|
|||
return Mono.just(Result.success(ResultCodeEnum.UPDATE_SUCCESS));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "用户删除消息", description = "用户删除消息")
|
||||
@DeleteMapping("noManage/deleteUserMessageByIds")
|
||||
public Mono<Result<String>> deleteUserMessageByIds(@RequestBody List<Long> ids) {
|
||||
|
|
|
@ -8,6 +8,7 @@ import cn.bunny.dao.pojo.result.PageResult;
|
|||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.system.message.MessageTypeVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.message.MessageTypeService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -36,6 +37,7 @@ public class MessageTypeController {
|
|||
@Autowired
|
||||
private MessageTypeService messageTypeService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询系统消息类型", description = "分页查询系统消息类型")
|
||||
@GetMapping("getMessageTypeList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<MessageTypeVo>>> getMessageTypeList(
|
||||
|
@ -49,6 +51,7 @@ public class MessageTypeController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取所有消息类型", description = "获取所有消息类型")
|
||||
@GetMapping("noManage/getAllMessageTypes")
|
||||
public Mono<Result<List<MessageTypeVo>>> getNoManageMessageTypes() {
|
||||
|
|
|
@ -6,6 +6,7 @@ import cn.bunny.dao.pojo.result.PageResult;
|
|||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.log.QuartzExecuteLogVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.schedule.ScheduleExecuteLogService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -33,6 +34,7 @@ public class ScheduleExecuteLogController {
|
|||
@Autowired
|
||||
private ScheduleExecuteLogService scheduleExecuteLogService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询调度任务执行日志", description = "分页查询调度任务执行日志")
|
||||
@GetMapping("getQuartzExecuteLogList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<QuartzExecuteLogVo>>> getQuartzExecuteLogList(
|
||||
|
|
|
@ -9,6 +9,7 @@ import cn.bunny.dao.pojo.result.PageResult;
|
|||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.quartz.SchedulersVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.schedule.SchedulersService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -38,6 +39,7 @@ public class SchedulersController {
|
|||
@Autowired
|
||||
private SchedulersService schedulersService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询视图", description = "分页查询视图")
|
||||
@GetMapping("getSchedulersList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<SchedulersVo>>> getSchedulersList(
|
||||
|
@ -51,6 +53,7 @@ public class SchedulersController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取所有可用调度任务", description = "获取所有可用调度任务")
|
||||
@GetMapping("noManage/getAllScheduleJobList")
|
||||
public Mono<Result<List<Map<String, String>>>> getAllScheduleJobList() {
|
||||
|
|
|
@ -8,6 +8,7 @@ import cn.bunny.dao.pojo.result.PageResult;
|
|||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.quartz.SchedulersGroupVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.schedule.SchedulersGroupService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -36,6 +37,7 @@ public class SchedulersGroupController {
|
|||
@Autowired
|
||||
private SchedulersGroupService schedulersGroupService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询任务调度分组", description = "分页查询任务调度分组")
|
||||
@GetMapping("getSchedulersGroupList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<SchedulersGroupVo>>> getSchedulersGroupList(
|
||||
|
@ -49,6 +51,7 @@ public class SchedulersGroupController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取所有任务调度分组", description = "获取所有任务调度分组")
|
||||
@GetMapping("getAllSchedulersGroup")
|
||||
public Mono<Result<List<SchedulersGroupVo>>> getAllSchedulersGroup() {
|
||||
|
|
|
@ -8,6 +8,7 @@ import cn.bunny.dao.pojo.result.PageResult;
|
|||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.system.DeptVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.system.DeptService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -36,6 +37,7 @@ public class DeptController {
|
|||
@Autowired
|
||||
private DeptService deptService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询部门", description = "分页查询部门")
|
||||
@GetMapping("getDeptList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<DeptVo>>> getDeptList(
|
||||
|
@ -49,6 +51,7 @@ public class DeptController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取所有部门", description = "获取所有部门")
|
||||
@GetMapping("noManage/getAllDeptList")
|
||||
public Mono<Result<List<DeptVo>>> getAllDeptList() {
|
||||
|
|
|
@ -11,6 +11,7 @@ import cn.bunny.dao.pojo.result.Result;
|
|||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.system.files.FileInfoVo;
|
||||
import cn.bunny.dao.vo.system.files.FilesVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.system.FilesService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -43,6 +44,7 @@ public class FilesController {
|
|||
@Autowired
|
||||
private FilesService filesService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询系统文件", description = "分页查询系统文件")
|
||||
@GetMapping("getFilesList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<FilesVo>>> getFilesList(
|
||||
|
@ -62,6 +64,7 @@ public class FilesController {
|
|||
return filesService.downloadFilesByFileId(fileId);
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取所有文件类型", description = "获取所有文件类型")
|
||||
@GetMapping("noManage/getAllMediaTypes")
|
||||
public Mono<Result<Set<String>>> getAllMediaTypes() {
|
||||
|
@ -69,6 +72,7 @@ public class FilesController {
|
|||
return Mono.just(Result.success(list));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取所有文件存储基础路径", description = "获取所有文件存储基础路径")
|
||||
@GetMapping("noManage/getAllFilesStoragePath")
|
||||
public Mono<Result<List<String>>> getAllFilesStoragePath() {
|
||||
|
|
|
@ -3,6 +3,7 @@ package cn.bunny.services.controller.system;
|
|||
import cn.bunny.dao.dto.financial.HomeDto;
|
||||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.dao.vo.financial.user.home.HomeVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.index.IndexService;
|
||||
import cn.hutool.captcha.CaptchaUtil;
|
||||
import cn.hutool.captcha.CircleCaptcha;
|
||||
|
@ -27,12 +28,14 @@ public class IndexController {
|
|||
@Autowired
|
||||
private IndexService indexService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "访问首页", description = "访问首页")
|
||||
@GetMapping("")
|
||||
public String index() {
|
||||
return "欢迎访问 Bunny Java Template,欢迎去Gitee:https://gitee.com/BunnyBoss/java_single.git";
|
||||
return "欢迎访问 家庭理财管理系统";
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "首页内容展示", description = "首页内容展示")
|
||||
@GetMapping("admin/noManage/homeDatalist")
|
||||
public Mono<Result<HomeVo>> homeDatalist(@Valid HomeDto dto) {
|
||||
|
@ -40,6 +43,7 @@ public class IndexController {
|
|||
return Mono.just(Result.success(homeVo));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "生成验证码", description = "生成验证码")
|
||||
@GetMapping("noAuth/checkCode")
|
||||
public ResponseEntity<byte[]> checkCode() {
|
||||
|
|
|
@ -9,6 +9,7 @@ import cn.bunny.dao.pojo.result.PageResult;
|
|||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.system.rolePower.PowerVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.system.PowerService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -37,6 +38,7 @@ public class PowerController {
|
|||
@Autowired
|
||||
private PowerService powerService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询权限", description = "分页查询权限")
|
||||
@GetMapping("getPowerList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<PowerVo>>> getPowerList(
|
||||
|
@ -50,6 +52,7 @@ public class PowerController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取所有权限", description = "获取所有权限")
|
||||
@GetMapping("getAllPowers")
|
||||
public Mono<Result<List<PowerVo>>> getAllPowers() {
|
||||
|
|
|
@ -8,6 +8,7 @@ import cn.bunny.dao.pojo.result.PageResult;
|
|||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.system.rolePower.RoleVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.system.RoleService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -36,6 +37,7 @@ public class RoleController {
|
|||
@Autowired
|
||||
private RoleService roleService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询角色", description = "分页查询角色")
|
||||
@GetMapping("getRoleList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<RoleVo>>> getRoleList(
|
||||
|
@ -49,6 +51,7 @@ public class RoleController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取所有角色", description = "获取所有角色")
|
||||
@GetMapping("noManage/getAllRoles")
|
||||
public Mono<Result<List<RoleVo>>> getAllRoles() {
|
||||
|
|
|
@ -2,6 +2,7 @@ package cn.bunny.services.controller.system;
|
|||
|
||||
import cn.bunny.dao.dto.system.rolePower.AssignPowersToRoleDto;
|
||||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.system.RolePowerService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
@ -28,6 +29,7 @@ public class RolePowerController {
|
|||
@Autowired
|
||||
private RolePowerService rolePowerService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "根据角色id获取权限内容", description = "根据角色id获取权限内容")
|
||||
@GetMapping("noManage/getPowerListByRoleId")
|
||||
public Mono<Result<List<String>>> getPowerListByRoleId(Long id) {
|
||||
|
|
|
@ -10,6 +10,7 @@ import cn.bunny.dao.pojo.result.Result;
|
|||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.system.router.RouterManageVo;
|
||||
import cn.bunny.dao.vo.system.router.UserRouterVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.system.RouterService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -38,6 +39,7 @@ public class RouterController {
|
|||
@Autowired
|
||||
private RouterService routerService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取用户菜单", description = "获取用户菜单")
|
||||
@GetMapping("noManage/getRouterAsync")
|
||||
public Mono<Result<List<UserRouterVo>>> getRouterAsync() {
|
||||
|
@ -45,6 +47,7 @@ public class RouterController {
|
|||
return Mono.just(Result.success(voList));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页管理菜单列", description = "分页管理菜单列")
|
||||
@GetMapping("getMenusList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<RouterManageVo>>> getMenusByPage(
|
||||
|
@ -59,6 +62,7 @@ public class RouterController {
|
|||
return Mono.just(Result.success(voPageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询管理菜单列表", description = "分页查询管理菜单列表")
|
||||
@GetMapping("getMenusList")
|
||||
public Mono<Result<List<RouterManageVo>>> getMenusList(RouterManageDto dto) {
|
||||
|
|
|
@ -2,6 +2,7 @@ package cn.bunny.services.controller.system;
|
|||
|
||||
import cn.bunny.dao.dto.system.router.AssignRolesToRoutersDto;
|
||||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.system.RouterRoleService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
@ -27,6 +28,7 @@ public class RouterRoleController {
|
|||
@Autowired
|
||||
private RouterRoleService routerRoleService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "根据菜单id获取所有角色", description = "根据菜单id获取所有角色")
|
||||
@GetMapping("getRoleListByRouterId")
|
||||
public Mono<Result<List<String>>> getRoleListByRouterId(Long routerId) {
|
||||
|
|
|
@ -6,6 +6,7 @@ import cn.bunny.dao.pojo.result.PageResult;
|
|||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.system.user.*;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.system.UserService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -27,6 +28,7 @@ public class UserController {
|
|||
@Autowired
|
||||
private UserService userService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询用户信息", description = "分页查询用户信息")
|
||||
@GetMapping("getAdminUserList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<AdminUserVo>>> getAdminUserList(
|
||||
|
@ -40,6 +42,7 @@ public class UserController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取本地登录用户信息", description = "获取用户信息从Redis中获取")
|
||||
@GetMapping("noManage/getUserinfo")
|
||||
public Mono<Result<LoginVo>> getUserinfo() {
|
||||
|
@ -47,6 +50,7 @@ public class UserController {
|
|||
return Mono.just(Result.success(vo));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取用户信息", description = "根据用户ID获取用户信息,不包含Redis中的信息")
|
||||
@GetMapping("getUserinfoById")
|
||||
public Mono<Result<UserVo>> getUserinfoById(Long id) {
|
||||
|
@ -54,6 +58,7 @@ public class UserController {
|
|||
return Mono.just(Result.success(vo));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "多条件查询用户", description = "多条件查询用户")
|
||||
@GetMapping("noManage/queryUser")
|
||||
public Mono<Result<List<SearchUserinfoVo>>> queryUser(String keyword) {
|
||||
|
|
|
@ -7,6 +7,7 @@ import cn.bunny.dao.pojo.result.Result;
|
|||
import cn.bunny.dao.pojo.result.ResultCodeEnum;
|
||||
import cn.bunny.dao.vo.log.UserLoginLogLocalVo;
|
||||
import cn.bunny.dao.vo.log.UserLoginLogVo;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.system.UserLoginLogService;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
|
@ -34,6 +35,7 @@ public class UserLoginLogController {
|
|||
@Autowired
|
||||
private UserLoginLogService userLoginLogService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "分页查询用户登录日志", description = "分页查询用户登录日志")
|
||||
@GetMapping("getUserLoginLogList/{page}/{limit}")
|
||||
public Mono<Result<PageResult<UserLoginLogVo>>> getUserLoginLogList(
|
||||
|
@ -47,6 +49,7 @@ public class UserLoginLogController {
|
|||
return Mono.just(Result.success(pageResult));
|
||||
}
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "获取本地用户登录日志", description = "获取本地用户登录日志")
|
||||
@GetMapping("noManage/getUserLoginLogListByLocalUser/{page}/{limit}")
|
||||
public Mono<Result<PageResult<UserLoginLogLocalVo>>> getUserLoginLogListByLocalUser(
|
||||
|
|
|
@ -2,6 +2,7 @@ package cn.bunny.services.controller.system;
|
|||
|
||||
import cn.bunny.dao.dto.system.user.AssignRolesToUsersDto;
|
||||
import cn.bunny.dao.pojo.result.Result;
|
||||
import cn.bunny.services.aop.annotation.ExcludeRequestLog;
|
||||
import cn.bunny.services.service.system.UserRoleService;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
|
@ -27,6 +28,7 @@ public class UserRoleController {
|
|||
@Autowired
|
||||
private UserRoleService userRoleService;
|
||||
|
||||
@ExcludeRequestLog
|
||||
@Operation(summary = "根据用户id获取角色列", description = "根据用户id获取角色列")
|
||||
@GetMapping("getRoleListByUserId")
|
||||
public Mono<Result<List<String>>> getRoleListByUserId(Long userId) {
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
<level>INFO</level>
|
||||
</filter>
|
||||
<encoder>
|
||||
<pattern>%cyan([%thread]) %yellow(%-5level) %green(%logger{100}).%boldRed(%method)-%boldMagenta(%line)-%blue(%msg%n)</pattern>
|
||||
<pattern>%cyan([%thread %d{yyyy-MM-dd HH:mm:ss}]) %yellow(%-5level) %green(%logger{100}).%boldRed(%method)-%boldMagenta(%line)-%blue(%msg%n)
|
||||
</pattern>
|
||||
<charset>${ENCODING}</charset>
|
||||
</encoder>
|
||||
</appender>
|
||||
|
|
Loading…
Reference in New Issue