mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 10:57:13 +08:00 
			
		
		
		
	refactor: 适配 ContiNew Starter 日志及数据库工具的包结构优化
This commit is contained in:
		| @@ -21,7 +21,7 @@ import org.springframework.context.annotation.Configuration; | |||||||
|  |  | ||||||
| import top.charles7c.continew.admin.monitor.mapper.LogMapper; | import top.charles7c.continew.admin.monitor.mapper.LogMapper; | ||||||
| import top.charles7c.continew.admin.system.service.UserService; | import top.charles7c.continew.admin.system.service.UserService; | ||||||
| import top.charles7c.continew.starter.log.common.dao.LogDao; | import top.charles7c.continew.starter.log.core.dao.LogDao; | ||||||
| import top.charles7c.continew.starter.log.httptracepro.autoconfigure.ConditionalOnEnabledLog; | import top.charles7c.continew.starter.log.httptracepro.autoconfigure.ConditionalOnEnabledLog; | ||||||
| import top.charles7c.continew.starter.web.autoconfigure.trace.TraceProperties; | import top.charles7c.continew.starter.web.autoconfigure.trace.TraceProperties; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -34,10 +34,10 @@ import top.charles7c.continew.admin.monitor.model.entity.LogDO; | |||||||
| import top.charles7c.continew.admin.system.service.UserService; | import top.charles7c.continew.admin.system.service.UserService; | ||||||
| import top.charles7c.continew.starter.core.constant.StringConstants; | import top.charles7c.continew.starter.core.constant.StringConstants; | ||||||
| import top.charles7c.continew.starter.core.util.ExceptionUtils; | import top.charles7c.continew.starter.core.util.ExceptionUtils; | ||||||
| import top.charles7c.continew.starter.log.common.dao.LogDao; | import top.charles7c.continew.starter.log.core.dao.LogDao; | ||||||
| import top.charles7c.continew.starter.log.common.model.LogRecord; | import top.charles7c.continew.starter.log.core.model.LogRecord; | ||||||
| import top.charles7c.continew.starter.log.common.model.LogRequest; | import top.charles7c.continew.starter.log.core.model.LogRequest; | ||||||
| import top.charles7c.continew.starter.log.common.model.LogResponse; | import top.charles7c.continew.starter.log.core.model.LogResponse; | ||||||
| import top.charles7c.continew.starter.web.autoconfigure.trace.TraceProperties; | import top.charles7c.continew.starter.web.autoconfigure.trace.TraceProperties; | ||||||
| import top.charles7c.continew.starter.web.model.R; | import top.charles7c.continew.starter.web.model.R; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -45,8 +45,8 @@ import top.charles7c.continew.admin.tool.service.GeneratorService; | |||||||
| import top.charles7c.continew.starter.core.constant.StringConstants; | import top.charles7c.continew.starter.core.constant.StringConstants; | ||||||
| import top.charles7c.continew.starter.core.exception.BusinessException; | import top.charles7c.continew.starter.core.exception.BusinessException; | ||||||
| import top.charles7c.continew.starter.core.util.TemplateUtils; | import top.charles7c.continew.starter.core.util.TemplateUtils; | ||||||
| import top.charles7c.continew.starter.core.util.db.MetaUtils; | import top.charles7c.continew.starter.data.core.util.MetaUtils; | ||||||
| import top.charles7c.continew.starter.core.util.db.Table; | import top.charles7c.continew.starter.data.core.util.Table; | ||||||
| import top.charles7c.continew.starter.core.util.validate.CheckUtils; | import top.charles7c.continew.starter.core.util.validate.CheckUtils; | ||||||
| import top.charles7c.continew.starter.extension.crud.model.query.PageQuery; | import top.charles7c.continew.starter.extension.crud.model.query.PageQuery; | ||||||
| import top.charles7c.continew.starter.extension.crud.model.resp.PageResp; | import top.charles7c.continew.starter.extension.crud.model.resp.PageResp; | ||||||
|   | |||||||
| @@ -43,7 +43,7 @@ import top.charles7c.continew.starter.cache.redisson.util.RedisUtils; | |||||||
| import top.charles7c.continew.starter.core.util.ExceptionUtils; | import top.charles7c.continew.starter.core.util.ExceptionUtils; | ||||||
| import top.charles7c.continew.starter.core.util.validate.ValidationUtils; | import top.charles7c.continew.starter.core.util.validate.ValidationUtils; | ||||||
| import top.charles7c.continew.starter.web.model.R; | import top.charles7c.continew.starter.web.model.R; | ||||||
| import top.charles7c.continew.starter.log.common.annotation.Log; | import top.charles7c.continew.starter.log.core.annotation.Log; | ||||||
|  |  | ||||||
| import java.util.List; | import java.util.List; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -35,7 +35,7 @@ import top.charles7c.continew.admin.auth.service.LoginService; | |||||||
| import top.charles7c.continew.starter.core.exception.BadRequestException; | import top.charles7c.continew.starter.core.exception.BadRequestException; | ||||||
| import top.charles7c.continew.starter.core.util.validate.ValidationUtils; | import top.charles7c.continew.starter.core.util.validate.ValidationUtils; | ||||||
| import top.charles7c.continew.starter.web.model.R; | import top.charles7c.continew.starter.web.model.R; | ||||||
| import top.charles7c.continew.starter.log.common.annotation.Log; | import top.charles7c.continew.starter.log.core.annotation.Log; | ||||||
|  |  | ||||||
| import me.zhyd.oauth.model.AuthCallback; | import me.zhyd.oauth.model.AuthCallback; | ||||||
| import me.zhyd.oauth.model.AuthResponse; | import me.zhyd.oauth.model.AuthResponse; | ||||||
|   | |||||||
| @@ -52,7 +52,7 @@ import top.charles7c.continew.starter.core.autoconfigure.project.ProjectProperti | |||||||
| import top.charles7c.continew.starter.core.util.TemplateUtils; | import top.charles7c.continew.starter.core.util.TemplateUtils; | ||||||
| import top.charles7c.continew.starter.core.util.validate.CheckUtils; | import top.charles7c.continew.starter.core.util.validate.CheckUtils; | ||||||
| import top.charles7c.continew.starter.core.util.validate.ValidationUtils; | import top.charles7c.continew.starter.core.util.validate.ValidationUtils; | ||||||
| import top.charles7c.continew.starter.log.common.annotation.Log; | import top.charles7c.continew.starter.log.core.annotation.Log; | ||||||
| import top.charles7c.continew.starter.messaging.mail.util.MailUtils; | import top.charles7c.continew.starter.messaging.mail.util.MailUtils; | ||||||
| import top.charles7c.continew.starter.web.model.R; | import top.charles7c.continew.starter.web.model.R; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -44,7 +44,7 @@ import top.charles7c.continew.starter.core.autoconfigure.project.ProjectProperti | |||||||
| import top.charles7c.continew.starter.core.util.validate.ValidationUtils; | import top.charles7c.continew.starter.core.util.validate.ValidationUtils; | ||||||
| import top.charles7c.continew.starter.data.mybatis.plus.base.IBaseEnum; | import top.charles7c.continew.starter.data.mybatis.plus.base.IBaseEnum; | ||||||
| import top.charles7c.continew.starter.extension.crud.model.query.SortQuery; | import top.charles7c.continew.starter.extension.crud.model.query.SortQuery; | ||||||
| import top.charles7c.continew.starter.log.common.annotation.Log; | import top.charles7c.continew.starter.log.core.annotation.Log; | ||||||
| import top.charles7c.continew.starter.web.model.R; | import top.charles7c.continew.starter.web.model.R; | ||||||
|  |  | ||||||
| import java.io.Serializable; | import java.io.Serializable; | ||||||
|   | |||||||
| @@ -39,7 +39,7 @@ import top.charles7c.continew.admin.monitor.service.DashboardService; | |||||||
| import top.charles7c.continew.admin.system.model.resp.DashboardAnnouncementResp; | import top.charles7c.continew.admin.system.model.resp.DashboardAnnouncementResp; | ||||||
| import top.charles7c.continew.starter.core.util.validate.ValidationUtils; | import top.charles7c.continew.starter.core.util.validate.ValidationUtils; | ||||||
| import top.charles7c.continew.starter.web.model.R; | import top.charles7c.continew.starter.web.model.R; | ||||||
| import top.charles7c.continew.starter.log.common.annotation.Log; | import top.charles7c.continew.starter.log.core.annotation.Log; | ||||||
|  |  | ||||||
| import java.util.List; | import java.util.List; | ||||||
|  |  | ||||||
|   | |||||||
| @@ -40,7 +40,7 @@ import top.charles7c.continew.admin.monitor.service.LogService; | |||||||
| import top.charles7c.continew.starter.extension.crud.model.query.PageQuery; | import top.charles7c.continew.starter.extension.crud.model.query.PageQuery; | ||||||
| import top.charles7c.continew.starter.extension.crud.model.resp.PageResp; | import top.charles7c.continew.starter.extension.crud.model.resp.PageResp; | ||||||
| import top.charles7c.continew.starter.web.model.R; | import top.charles7c.continew.starter.web.model.R; | ||||||
| import top.charles7c.continew.starter.log.common.annotation.Log; | import top.charles7c.continew.starter.log.core.annotation.Log; | ||||||
|  |  | ||||||
| /** | /** | ||||||
|  * 日志管理 API |  * 日志管理 API | ||||||
|   | |||||||
| @@ -32,7 +32,7 @@ import top.charles7c.continew.admin.system.service.MessageUserService; | |||||||
| import top.charles7c.continew.starter.extension.crud.model.query.PageQuery; | import top.charles7c.continew.starter.extension.crud.model.query.PageQuery; | ||||||
| import top.charles7c.continew.starter.extension.crud.model.resp.PageResp; | import top.charles7c.continew.starter.extension.crud.model.resp.PageResp; | ||||||
| import top.charles7c.continew.starter.web.model.R; | import top.charles7c.continew.starter.web.model.R; | ||||||
| import top.charles7c.continew.starter.log.common.annotation.Log; | import top.charles7c.continew.starter.log.core.annotation.Log; | ||||||
|  |  | ||||||
| import java.util.List; | import java.util.List; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user