diff --git a/continew-admin-monitor/pom.xml b/continew-admin-monitor/pom.xml
index e2f89258..2b4f642c 100644
--- a/continew-admin-monitor/pom.xml
+++ b/continew-admin-monitor/pom.xml
@@ -13,12 +13,6 @@
系统监控模块(存放系统监控相关业务功能,例如:在线用户、日志管理等)
-
-
- top.charles7c.continew
- continew-starter-log-httptrace-pro
-
-
top.charles7c.continew
diff --git a/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/model/query/LoginLogQuery.java b/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/model/query/LoginLogQuery.java
deleted file mode 100644
index 90f157f2..00000000
--- a/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/model/query/LoginLogQuery.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package top.charles7c.continew.admin.monitor.model.query;
-
-import cn.hutool.core.date.DatePattern;
-import io.swagger.v3.oas.annotations.media.Schema;
-import lombok.Data;
-import org.springframework.format.annotation.DateTimeFormat;
-import top.charles7c.continew.starter.data.core.annotation.Query;
-import top.charles7c.continew.starter.data.core.enums.QueryType;
-
-import java.io.Serial;
-import java.io.Serializable;
-import java.util.Date;
-import java.util.List;
-
-/**
- * 登录日志查询条件
- *
- * @author Charles7c
- * @since 2023/1/16 23:25
- */
-@Data
-@Schema(description = "登录日志查询条件")
-public class LoginLogQuery implements Serializable {
-
- @Serial
- private static final long serialVersionUID = 1L;
-
- /**
- * 登录状态
- */
- @Schema(description = "登录状态(1:成功;2:失败)", example = "1")
- private Integer status;
-
- /**
- * 登录时间
- */
- @Schema(description = "登录时间", example = "2023-08-08 00:00:00,2023-08-08 23:59:59")
- @Query(type = QueryType.BETWEEN)
- @DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
- private List createTime;
-}
diff --git a/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/model/query/SystemLogQuery.java b/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/model/query/SystemLogQuery.java
deleted file mode 100644
index 076f1420..00000000
--- a/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/model/query/SystemLogQuery.java
+++ /dev/null
@@ -1,57 +0,0 @@
-/*
- * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package top.charles7c.continew.admin.monitor.model.query;
-
-import cn.hutool.core.date.DatePattern;
-import io.swagger.v3.oas.annotations.media.Schema;
-import lombok.Data;
-import org.springframework.format.annotation.DateTimeFormat;
-import top.charles7c.continew.starter.data.core.annotation.Query;
-import top.charles7c.continew.starter.data.core.enums.QueryType;
-
-import java.io.Serial;
-import java.io.Serializable;
-import java.util.Date;
-import java.util.List;
-
-/**
- * 系统日志查询条件
- *
- * @author Charles7c
- * @since 2023/1/17 23:31
- */
-@Data
-@Schema(description = "系统日志查询条件")
-public class SystemLogQuery implements Serializable {
-
- @Serial
- private static final long serialVersionUID = 1L;
-
- /**
- * 链路 ID
- */
- @Schema(description = "链路 ID", example = "904846526308876288")
- private String traceId;
-
- /**
- * 创建时间
- */
- @Schema(description = "创建时间", example = "2023-08-08 00:00:00,2023-08-08 23:59:59")
- @Query(type = QueryType.BETWEEN)
- @DateTimeFormat(pattern = DatePattern.NORM_DATETIME_PATTERN)
- private List createTime;
-}
diff --git a/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/model/resp/LoginLogResp.java b/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/model/resp/LoginLogResp.java
deleted file mode 100644
index 919b53e7..00000000
--- a/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/model/resp/LoginLogResp.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package top.charles7c.continew.admin.monitor.model.resp;
-
-import java.io.Serial;
-
-import lombok.Data;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-
-import top.charles7c.continew.admin.monitor.enums.LogStatusEnum;
-
-/**
- * 登录日志信息
- *
- * @author Charles7c
- * @since 2023/1/16 23:19
- */
-@Data
-@Schema(description = "登录日志信息")
-public class LoginLogResp extends LogResp {
-
- @Serial
- private static final long serialVersionUID = 1L;
-
- /**
- * 登录行为
- */
- @Schema(description = "登录行为", example = "用户登录")
- private String description;
-
- /**
- * 登录状态
- */
- @Schema(description = "登录状态(1:成功;2:失败)", type = "Integer", allowableValues = {"1", "2"}, example = "1")
- private LogStatusEnum status;
-
- /**
- * 登录 IP
- */
- @Schema(description = "登录 IP", example = "192.168.0.1")
- private String ip;
-
- /**
- * 登录地点
- */
- @Schema(description = "登录地点", example = "中国北京北京市")
- private String address;
-
- /**
- * 浏览器
- */
- @Schema(description = "浏览器", example = "Chrome 115.0.0.0")
- private String browser;
-
- /**
- * 操作系统
- */
- @Schema(description = "操作系统", example = "Windows 10")
- private String os;
-
- /**
- * 错误信息
- */
- @Schema(description = "错误信息")
- private String errorMsg;
-}
diff --git a/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/model/resp/OperationLogResp.java b/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/model/resp/OperationLogResp.java
deleted file mode 100644
index a470a1ca..00000000
--- a/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/model/resp/OperationLogResp.java
+++ /dev/null
@@ -1,81 +0,0 @@
-/*
- * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package top.charles7c.continew.admin.monitor.model.resp;
-
-import java.io.Serial;
-
-import lombok.Data;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-
-import top.charles7c.continew.admin.monitor.enums.LogStatusEnum;
-
-/**
- * 操作日志信息
- *
- * @author Charles7c
- * @since 2023/1/14 18:27
- */
-@Data
-@Schema(description = "操作日志信息")
-public class OperationLogResp extends LogResp {
-
- @Serial
- private static final long serialVersionUID = 1L;
-
- /**
- * 操作内容
- */
- @Schema(description = "操作内容", example = "新增数据")
- private String description;
-
- /**
- * 所属模块
- */
- @Schema(description = "所属模块", example = "部门管理")
- private String module;
-
- /**
- * 操作 IP
- */
- @Schema(description = "操作 IP", example = "192.168.0.1")
- private String ip;
-
- /**
- * 操作地点
- */
- @Schema(description = "操作地点", example = "中国北京北京市")
- private String address;
-
- /**
- * 浏览器
- */
- @Schema(description = "浏览器", example = "Chrome 115.0.0.0")
- private String browser;
-
- /**
- * 操作状态
- */
- @Schema(description = "操作状态(1:成功;2:失败)", type = "Integer", allowableValues = {"1", "2"}, example = "1")
- private LogStatusEnum status;
-
- /**
- * 错误信息
- */
- @Schema(description = "错误信息")
- private String errorMsg;
-}
diff --git a/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/model/resp/SystemLogResp.java b/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/model/resp/SystemLogResp.java
deleted file mode 100644
index c0046436..00000000
--- a/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/model/resp/SystemLogResp.java
+++ /dev/null
@@ -1,79 +0,0 @@
-/*
- * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package top.charles7c.continew.admin.monitor.model.resp;
-
-import java.io.Serial;
-
-import lombok.Data;
-
-import io.swagger.v3.oas.annotations.media.Schema;
-
-/**
- * 系统日志信息
- *
- * @author Charles7c
- * @since 2023/1/17 23:29
- */
-@Data
-@Schema(description = "系统日志信息")
-public class SystemLogResp extends LogResp {
-
- @Serial
- private static final long serialVersionUID = 1L;
-
- /**
- * 状态码
- */
- @Schema(description = "状态码", example = "200")
- private Integer statusCode;
-
- /**
- * 请求方式
- */
- @Schema(description = "请求方式", example = "POST")
- private String requestMethod;
-
- /**
- * 请求 URL
- */
- @Schema(description = "请求 URL", example = "http://api.charles7c.top/system/dept")
- private String requestUrl;
-
- /**
- * IP
- */
- @Schema(description = "IP", example = "192.168.0.1")
- private String ip;
-
- /**
- * 地址
- */
- @Schema(description = "地址", example = "中国北京北京市")
- private String address;
-
- /**
- * 浏览器
- */
- @Schema(description = "浏览器", example = "Chrome 115.0.0.0")
- private String browser;
-
- /**
- * 耗时(ms)
- */
- @Schema(description = "耗时(ms)", example = "58")
- private Long timeTaken;
-}
diff --git a/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/service/impl/LogServiceImpl.java b/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/service/impl/LogServiceImpl.java
deleted file mode 100644
index efe0422f..00000000
--- a/continew-admin-monitor/src/main/java/top/charles7c/continew/admin/monitor/service/impl/LogServiceImpl.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*
- * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package top.charles7c.continew.admin.monitor.service.impl;
-
-import cn.crane4j.annotation.AutoOperate;
-import cn.hutool.core.bean.BeanUtil;
-import cn.hutool.core.util.StrUtil;
-import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
-import com.baomidou.mybatisplus.core.metadata.IPage;
-import lombok.RequiredArgsConstructor;
-import lombok.extern.slf4j.Slf4j;
-import org.springframework.stereotype.Service;
-import top.charles7c.continew.admin.common.constant.SysConstants;
-import top.charles7c.continew.admin.monitor.mapper.LogMapper;
-import top.charles7c.continew.admin.monitor.model.entity.LogDO;
-import top.charles7c.continew.admin.monitor.model.query.LoginLogQuery;
-import top.charles7c.continew.admin.monitor.model.query.OperationLogQuery;
-import top.charles7c.continew.admin.monitor.model.query.SystemLogQuery;
-import top.charles7c.continew.admin.monitor.model.resp.*;
-import top.charles7c.continew.admin.monitor.service.LogService;
-import top.charles7c.continew.starter.core.util.ReflectUtils;
-import top.charles7c.continew.starter.core.util.validate.CheckUtils;
-import top.charles7c.continew.starter.data.mybatis.plus.query.QueryWrapperHelper;
-import top.charles7c.continew.starter.extension.crud.model.query.PageQuery;
-import top.charles7c.continew.starter.extension.crud.model.resp.PageResp;
-
-import java.util.List;
-import java.util.Map;
-
-/**
- * 系统日志业务实现
- *
- * @author Charles7c
- * @since 2022/12/23 20:12
- */
-@Slf4j
-@Service
-@RequiredArgsConstructor
-public class LogServiceImpl implements LogService {
-
- private final LogMapper logMapper;
-
- @Override
- @AutoOperate(type = OperationLogResp.class, on = "list")
- public PageResp page(OperationLogQuery query, PageQuery pageQuery) {
- QueryWrapper queryWrapper = QueryWrapperHelper.build(query);
- // 限定查询信息
- List fieldNameList = ReflectUtils.getNonStaticFieldsName(OperationLogResp.class);
- List columnNameList = fieldNameList.stream()
- .filter(n -> !n.endsWith(SysConstants.DESCRIPTION_FIELD_SUFFIX))
- .map(StrUtil::toUnderlineCase)
- .toList();
- queryWrapper.select(columnNameList);
- // 分页查询
- IPage page = logMapper.selectPage(pageQuery.toPage(), queryWrapper);
- return PageResp.build(page, OperationLogResp.class);
- }
-
- @Override
- @AutoOperate(type = LoginLogResp.class, on = "list")
- public PageResp page(LoginLogQuery query, PageQuery pageQuery) {
- QueryWrapper queryWrapper = QueryWrapperHelper.build(query);
- queryWrapper.eq("module", "登录");
- // 限定查询信息
- List fieldNameList = ReflectUtils.getNonStaticFieldsName(LoginLogResp.class);
- List columnNameList = fieldNameList.stream()
- .filter(n -> !n.endsWith(SysConstants.DESCRIPTION_FIELD_SUFFIX))
- .map(StrUtil::toUnderlineCase)
- .toList();
- queryWrapper.select(columnNameList);
- // 分页查询
- IPage page = logMapper.selectPage(pageQuery.toPage(), queryWrapper);
- return PageResp.build(page, LoginLogResp.class);
- }
-
- @Override
- @AutoOperate(type = SystemLogResp.class, on = "list")
- public PageResp page(SystemLogQuery query, PageQuery pageQuery) {
- QueryWrapper queryWrapper = QueryWrapperHelper.build(query);
- // 限定查询信息
- List fieldNameList = ReflectUtils.getNonStaticFieldsName(SystemLogResp.class);
- List columnNameList = fieldNameList.stream()
- .filter(n -> !n.endsWith(SysConstants.DESCRIPTION_FIELD_SUFFIX))
- .map(StrUtil::toUnderlineCase)
- .toList();
- queryWrapper.select(columnNameList);
- // 分页查询
- IPage page = logMapper.selectPage(pageQuery.toPage(), queryWrapper);
- return PageResp.build(page, SystemLogResp.class);
- }
-
- @Override
- @AutoOperate(type = SystemLogDetailResp.class)
- public SystemLogDetailResp get(Long id) {
- LogDO logDO = logMapper.selectById(id);
- CheckUtils.throwIfNotExists(logDO, "LogDO", "ID", id);
- return BeanUtil.copyProperties(logDO, SystemLogDetailResp.class);
- }
-
- @Override
- public DashboardTotalResp getDashboardTotal() {
- return logMapper.selectDashboardTotal();
- }
-
- @Override
- public List listDashboardAccessTrend(Integer days) {
- return logMapper.selectListDashboardAccessTrend(days);
- }
-
- @Override
- public List listDashboardPopularModule() {
- return logMapper.selectListDashboardPopularModule();
- }
-
- @Override
- public List