|
|
@@ -1,51 +0,0 @@
|
|
|
-//package com.jtzx.crm.module.api.web.sys;
|
|
|
-//
|
|
|
-//import cc.uncarbon.framework.core.constant.HelioConstant;
|
|
|
-//import cc.uncarbon.framework.core.page.PageParam;
|
|
|
-//import cc.uncarbon.framework.core.page.PageResult;
|
|
|
-//import cc.uncarbon.framework.web.model.response.ApiResult;
|
|
|
-//import com.jtzx.crm.module.api.constant.ApiConstant;
|
|
|
-//import com.jtzx.crm.module.api.util.CrmAdminStpUtil;
|
|
|
-//import com.jtzx.crm.module.sys.model.request.AdminListSysLogDTO;
|
|
|
-//import com.jtzx.crm.module.sys.model.response.SysLogBO;
|
|
|
-//import com.jtzx.crm.module.sys.service.SysLogService;
|
|
|
-//import cn.dev33.satoken.annotation.SaCheckLogin;
|
|
|
-//import cn.dev33.satoken.annotation.SaCheckPermission;
|
|
|
-//import io.swagger.v3.oas.annotations.Operation;
|
|
|
-//import io.swagger.v3.oas.annotations.tags.Tag;
|
|
|
-//import lombok.RequiredArgsConstructor;
|
|
|
-//import lombok.extern.slf4j.Slf4j;
|
|
|
-//import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-//import org.springframework.web.bind.annotation.PathVariable;
|
|
|
-//import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-//import org.springframework.web.bind.annotation.RestController;
|
|
|
-//
|
|
|
-//
|
|
|
-//@SaCheckLogin(type = CrmAdminStpUtil.TYPE)
|
|
|
-//@Tag(name = "系统日志管理接口")
|
|
|
-//@RequestMapping(value = ApiConstant.HTTP_API_URL_PREFIX + "/api/v1")
|
|
|
-//@RequiredArgsConstructor
|
|
|
-//@RestController
|
|
|
-//@Slf4j
|
|
|
-//public class AdminSysLogController {
|
|
|
-//
|
|
|
-// private static final String PERMISSION_PREFIX = "SysLog:";
|
|
|
-//
|
|
|
-// private final SysLogService sysLogService;
|
|
|
-//
|
|
|
-//
|
|
|
-// @SaCheckPermission(type = CrmAdminStpUtil.TYPE, value = PERMISSION_PREFIX + HelioConstant.Permission.RETRIEVE)
|
|
|
-// @Operation(summary = "分页列表")
|
|
|
-// @GetMapping(value = "/sys/logs")
|
|
|
-// public ApiResult<PageResult<SysLogBO>> list(PageParam pageParam, AdminListSysLogDTO dto) {
|
|
|
-// return ApiResult.data(sysLogService.adminList(pageParam, dto));
|
|
|
-// }
|
|
|
-//
|
|
|
-// @SaCheckPermission(type = CrmAdminStpUtil.TYPE, value = PERMISSION_PREFIX + HelioConstant.Permission.RETRIEVE)
|
|
|
-// @Operation(summary = "详情")
|
|
|
-// @GetMapping(value = "/sys/logs/{id}")
|
|
|
-// public ApiResult<SysLogBO> getById(@PathVariable Long id) {
|
|
|
-// return ApiResult.data(sysLogService.getOneById(id, true));
|
|
|
-// }
|
|
|
-//
|
|
|
-//}
|