diff --git a/common/service-utils/pom.xml b/common/service-utils/pom.xml index 6e427c6..e0f29c5 100644 --- a/common/service-utils/pom.xml +++ b/common/service-utils/pom.xml @@ -33,16 +33,5 @@ redisson 3.26.1 - - - mysql - mysql-connector-java - - - - com.zaxxer - HikariCP - 5.1.0 - diff --git a/common/service-utils/src/main/java/cn/bunny/common/service/config/Knife4jConfig.java b/common/service-utils/src/main/java/cn/bunny/common/service/config/Knife4jConfig.java new file mode 100644 index 0000000..82e15f6 --- /dev/null +++ b/common/service-utils/src/main/java/cn/bunny/common/service/config/Knife4jConfig.java @@ -0,0 +1,34 @@ +package cn.bunny.common.service.config; + +import io.swagger.v3.oas.models.ExternalDocumentation; +import io.swagger.v3.oas.models.OpenAPI; +import io.swagger.v3.oas.models.info.Contact; +import io.swagger.v3.oas.models.info.Info; +import io.swagger.v3.oas.models.info.License; +import lombok.extern.slf4j.Slf4j; +import org.springdoc.core.models.GroupedOpenApi; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; + +@Configuration +@Slf4j +public class Knife4jConfig { + @Bean + public OpenAPI openAPI() { + log.info("Knife4jConfig===>配置knife4j"); + // 作者等信息 + Contact contact = new Contact().name("Bunny").email("1319900154@qq.com").url("http://z-bunny.com"); + // 使用协议 + License license = new License().name("MIT").url("http://MUT.com"); + // 相关信息 + Info info = new Info().title("Bunny-Java-Template").description("Bunny的Java模板").version("v1.0.0").contact(contact).license(license); + + return new OpenAPI().info(info).externalDocs(new ExternalDocumentation()); + } + + // 管理员相关分类接口 + @Bean + public GroupedOpenApi groupedOpenApi() { + return GroupedOpenApi.builder().group("管理员接口请求").pathsToMatch("/admin/**").build(); + } +} diff --git a/common/service-utils/src/main/java/cn/bunny/common/service/config/WebMvcConfiguration.java b/common/service-utils/src/main/java/cn/bunny/common/service/config/WebMvcConfiguration.java new file mode 100644 index 0000000..60f38c5 --- /dev/null +++ b/common/service-utils/src/main/java/cn/bunny/common/service/config/WebMvcConfiguration.java @@ -0,0 +1,18 @@ +package cn.bunny.common.service.config; + +import lombok.extern.slf4j.Slf4j; +import org.jetbrains.annotations.NotNull; +import org.springframework.context.annotation.Configuration; +import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry; +import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; + +@Configuration +@Slf4j +public class WebMvcConfiguration implements WebMvcConfigurer { + @Override + public void addResourceHandlers(@NotNull ResourceHandlerRegistry registry) { + log.info("WebMvcConfiguration===>设置"); + + registry.addResourceHandler("/favicon.ico").addResourceLocations("classpath:/"); + } +} diff --git a/logs/bunny-service/spring.log b/logs/bunny-service/spring.log index d21f1d4..09eaffd 100644 --- a/logs/bunny-service/spring.log +++ b/logs/bunny-service/spring.log @@ -554,3 +554,397 @@ This generated password is for development use only. Your security configuration 16:54:32:575 INFO 18584 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@39159b14, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@57ab4b33, org.springframework.security.web.context.SecurityContextHolderFilter@3ebc6d8b, org.springframework.security.web.header.HeaderWriterFilter@1fe7fa16, org.springframework.web.filter.CorsFilter@43b2e7db, org.springframework.security.web.csrf.CsrfFilter@1774c4e2, org.springframework.security.web.authentication.logout.LogoutFilter@6f25ed2b, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@31940d6b, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@54ef9698, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@46d51d5e, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@2ae88712, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@7e7391e8, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1fa44f66, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@530df3ab, org.springframework.security.web.access.ExceptionTranslationFilter@169d1f92, org.springframework.security.web.access.intercept.AuthorizationFilter@59043741] 16:54:32:608 INFO 18584 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' 16:54:32:614 INFO 18584 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 1.72 seconds (process running for 2.04) +17:21:57:165 INFO 9596 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Starting ServiceApplication using Java 21.0.2 with PID 9596 (G:\web项目\Bunny-Cli\Java\java-template\service\target\classes started by 13199 in G:\web项目\Bunny-Cli\Java\java-template) +17:21:57:166 INFO 9596 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : The following 1 profile is active: "dev" +17:21:57:559 INFO 9596 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +17:21:57:560 INFO 9596 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +17:21:57:575 INFO 9596 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +17:21:57:953 INFO 9596 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8800 (http) +17:21:57:964 INFO 9596 --- [bunny-service] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +17:21:57:964 INFO 9596 --- [bunny-service] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +17:21:57:998 INFO 9596 --- [bunny-service] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +17:21:57:998 INFO 9596 --- [bunny-service] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 807 ms +17:21:58:057 INFO 9596 --- [bunny-service] [main] c.b.c.service.config.MybatisPlusConfig : MybatisPlusInterceptor===>注入Mybatis-Plus配置... +17:21:58:325 INFO 9596 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>使用StringRedisSerializer序列化为字符串 +17:21:58:366 INFO 9596 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>解决cache(@Cacheable)把数据缓存到redis中的value是乱码问题 +17:21:58:369 INFO 9596 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>指定的日期模式 +17:21:58:373 INFO 9596 --- [bunny-service] [main] c.b.c.s.properties.MinioProperties : 注册MinioClient... +17:21:58:685 WARN 9596 --- [bunny-service] [main] .s.s.UserDetailsServiceAutoConfiguration : + +Using generated security password: 5d34f2d0-fb7f-420e-989c-3515dbae24ab + +This generated password is for development use only. Your security configuration must be updated before running your application in production. + +17:21:58:734 INFO 9596 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@744db9fb, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@59043741, org.springframework.security.web.context.SecurityContextHolderFilter@411933, org.springframework.security.web.header.HeaderWriterFilter@19540247, org.springframework.web.filter.CorsFilter@31940d6b, org.springframework.security.web.csrf.CsrfFilter@642614b7, org.springframework.security.web.authentication.logout.LogoutFilter@197180a5, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@6f25ed2b, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@b5d7233, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@64cdc310, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1b06dc57, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@6b43b101, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@37cc6017, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@7d563c13, org.springframework.security.web.access.ExceptionTranslationFilter@7d8d671b, org.springframework.security.web.access.intercept.AuthorizationFilter@75fa9254] +17:21:58:765 INFO 9596 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' +17:21:58:769 INFO 9596 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 1.89 seconds (process running for 2.273) +17:32:12:615 INFO 24656 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Starting ServiceApplication using Java 21.0.2 with PID 24656 (G:\web项目\Bunny-Cli\Java\java-template\service\target\classes started by 13199 in G:\web项目\Bunny-Cli\Java\java-template) +17:32:12:616 INFO 24656 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : The following 1 profile is active: "dev" +17:32:13:011 INFO 24656 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +17:32:13:013 INFO 24656 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +17:32:13:029 INFO 24656 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +17:32:13:468 INFO 24656 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8800 (http) +17:32:13:474 INFO 24656 --- [bunny-service] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +17:32:13:475 INFO 24656 --- [bunny-service] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +17:32:13:518 INFO 24656 --- [bunny-service] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +17:32:13:518 INFO 24656 --- [bunny-service] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 877 ms +17:32:13:575 INFO 24656 --- [bunny-service] [main] c.b.c.service.config.MybatisPlusConfig : MybatisPlusInterceptor===>注入Mybatis-Plus配置... +17:32:13:828 INFO 24656 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>使用StringRedisSerializer序列化为字符串 +17:32:13:889 INFO 24656 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>解决cache(@Cacheable)把数据缓存到redis中的value是乱码问题 +17:32:13:891 INFO 24656 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>指定的日期模式 +17:32:13:895 INFO 24656 --- [bunny-service] [main] c.b.c.s.properties.MinioProperties : 注册MinioClient... +17:32:14:223 WARN 24656 --- [bunny-service] [main] .s.s.UserDetailsServiceAutoConfiguration : + +Using generated security password: 7aaba67e-67a2-4eac-83f8-1f86402e5cf5 + +This generated password is for development use only. Your security configuration must be updated before running your application in production. + +17:32:14:279 INFO 24656 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@7c39193f, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@230d013b, org.springframework.security.web.context.SecurityContextHolderFilter@3e8fe7db, org.springframework.security.web.header.HeaderWriterFilter@7535307c, org.springframework.web.filter.CorsFilter@6e225c34, org.springframework.security.web.csrf.CsrfFilter@197180a5, org.springframework.security.web.authentication.logout.LogoutFilter@5e72c82a, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@4942e6af, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@31940d6b, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@5d84b088, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1fc8047f, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@64908ab9, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1b06dc57, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@69c0bae6, org.springframework.security.web.access.ExceptionTranslationFilter@147097ad, org.springframework.security.web.access.intercept.AuthorizationFilter@55315a00] +17:32:14:313 INFO 24656 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' +17:32:14:318 INFO 24656 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 1.952 seconds (process running for 2.28) +17:32:15:973 INFO 24656 --- [bunny-service] [http-nio-8800-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +17:32:15:973 INFO 24656 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +17:32:15:974 INFO 24656 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +17:32:36:568 ERROR 24656 --- [bunny-service] [http-nio-8800-exec-7] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:32:36:579 ERROR 24656 --- [bunny-service] [http-nio-8800-exec-9] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource swagger-resources. +17:32:44:779 ERROR 24656 --- [bunny-service] [http-nio-8800-exec-5] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource swagger-resources. +17:32:44:788 ERROR 24656 --- [bunny-service] [http-nio-8800-exec-10] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:32:47:095 ERROR 24656 --- [bunny-service] [http-nio-8800-exec-7] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource swagger-resources. +17:32:47:107 ERROR 24656 --- [bunny-service] [http-nio-8800-exec-8] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:32:47:459 ERROR 24656 --- [bunny-service] [http-nio-8800-exec-4] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource swagger-resources. +17:32:47:469 ERROR 24656 --- [bunny-service] [http-nio-8800-exec-2] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:32:47:603 ERROR 24656 --- [bunny-service] [http-nio-8800-exec-5] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource swagger-resources. +17:32:47:617 ERROR 24656 --- [bunny-service] [http-nio-8800-exec-3] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:32:47:738 ERROR 24656 --- [bunny-service] [http-nio-8800-exec-4] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource swagger-resources. +17:32:47:756 ERROR 24656 --- [bunny-service] [http-nio-8800-exec-1] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:44:37:556 INFO 20960 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Starting ServiceApplication using Java 21.0.2 with PID 20960 (G:\web项目\Bunny-Cli\Java\java-template\service\target\classes started by 13199 in G:\web项目\Bunny-Cli\Java\java-template) +17:44:37:557 INFO 20960 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : The following 1 profile is active: "dev" +17:44:38:008 INFO 20960 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +17:44:38:010 INFO 20960 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +17:44:38:025 INFO 20960 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +17:44:38:394 INFO 20960 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8800 (http) +17:44:38:401 INFO 20960 --- [bunny-service] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +17:44:38:402 INFO 20960 --- [bunny-service] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +17:44:38:442 INFO 20960 --- [bunny-service] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +17:44:38:442 INFO 20960 --- [bunny-service] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 862 ms +17:44:38:495 INFO 20960 --- [bunny-service] [main] c.b.c.service.config.MybatisPlusConfig : MybatisPlusInterceptor===>注入Mybatis-Plus配置... +17:44:38:744 INFO 20960 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>使用StringRedisSerializer序列化为字符串 +17:44:38:806 INFO 20960 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>解决cache(@Cacheable)把数据缓存到redis中的value是乱码问题 +17:44:38:808 INFO 20960 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>指定的日期模式 +17:44:38:813 INFO 20960 --- [bunny-service] [main] c.b.c.s.properties.MinioProperties : 注册MinioClient... +17:44:39:225 WARN 20960 --- [bunny-service] [main] .s.s.UserDetailsServiceAutoConfiguration : + +Using generated security password: fd704a61-c389-4575-a6d9-9e0dd2f63c2a + +This generated password is for development use only. Your security configuration must be updated before running your application in production. + +17:44:39:277 INFO 20960 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@45964b9e, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@166a5659, org.springframework.security.web.context.SecurityContextHolderFilter@7c07023, org.springframework.security.web.header.HeaderWriterFilter@18918d70, org.springframework.web.filter.CorsFilter@1afabf06, org.springframework.security.web.csrf.CsrfFilter@1e09c0b, org.springframework.security.web.authentication.logout.LogoutFilter@b75f3f4, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@78a34c47, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@1701beb3, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@33060020, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1db9c2cf, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@774189d0, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@22c4354d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@443b6765, org.springframework.security.web.access.ExceptionTranslationFilter@12478b4e, org.springframework.security.web.access.intercept.AuthorizationFilter@27691ee8] +17:44:39:314 INFO 20960 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' +17:44:39:318 INFO 20960 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 2.029 seconds (process running for 2.364) +17:44:47:042 INFO 20960 --- [bunny-service] [http-nio-8800-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +17:44:47:043 INFO 20960 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +17:44:47:043 INFO 20960 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms +17:45:03:218 ERROR 20960 --- [bunny-service] [http-nio-8800-exec-5] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:45:03:365 INFO 20960 --- [bunny-service] [http-nio-8800-exec-2] o.springdoc.api.AbstractOpenApiResource : Init duration for springdoc-openapi is: 105 ms +17:45:10:321 ERROR 20960 --- [bunny-service] [http-nio-8800-exec-4] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:46:09:826 ERROR 20960 --- [bunny-service] [http-nio-8800-exec-9] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:46:10:869 ERROR 20960 --- [bunny-service] [http-nio-8800-exec-1] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:46:11:336 ERROR 20960 --- [bunny-service] [http-nio-8800-exec-6] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:46:11:785 ERROR 20960 --- [bunny-service] [http-nio-8800-exec-7] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:48:47:033 ERROR 20960 --- [bunny-service] [http-nio-8800-exec-9] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:50:40:498 INFO 5504 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Starting ServiceApplication using Java 21.0.2 with PID 5504 (G:\web项目\Bunny-Cli\Java\java-template\service\target\classes started by 13199 in G:\web项目\Bunny-Cli\Java\java-template) +17:50:40:499 INFO 5504 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : The following 1 profile is active: "dev" +17:50:40:932 INFO 5504 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +17:50:40:933 INFO 5504 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +17:50:40:948 INFO 5504 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +17:50:41:318 INFO 5504 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8800 (http) +17:50:41:324 INFO 5504 --- [bunny-service] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +17:50:41:324 INFO 5504 --- [bunny-service] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +17:50:41:366 INFO 5504 --- [bunny-service] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +17:50:41:367 INFO 5504 --- [bunny-service] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 844 ms +17:50:41:422 INFO 5504 --- [bunny-service] [main] c.b.c.service.config.MybatisPlusConfig : MybatisPlusInterceptor===>注入Mybatis-Plus配置... +17:50:41:679 INFO 5504 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>使用StringRedisSerializer序列化为字符串 +17:50:41:742 INFO 5504 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>解决cache(@Cacheable)把数据缓存到redis中的value是乱码问题 +17:50:41:745 INFO 5504 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>指定的日期模式 +17:50:41:750 INFO 5504 --- [bunny-service] [main] c.b.c.s.properties.MinioProperties : 注册MinioClient... +17:50:42:244 INFO 5504 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@4f0cdd0f, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@22ea6051, org.springframework.security.web.context.SecurityContextHolderFilter@329efc61, org.springframework.security.web.header.HeaderWriterFilter@4c599679, org.springframework.web.filter.CorsFilter@539bb233, org.springframework.security.web.csrf.CsrfFilter@40d04cf8, org.springframework.security.web.authentication.logout.LogoutFilter@3d213a2b, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@45964b9e, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@4e481512, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@21b2579d, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@70f3bf00, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4e7151b3, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@5ef7ae2f, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@87f1201, org.springframework.security.web.access.ExceptionTranslationFilter@1701beb3, org.springframework.security.web.access.intercept.AuthorizationFilter@421d7900] +17:50:42:278 INFO 5504 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' +17:50:42:282 INFO 5504 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 2.049 seconds (process running for 2.405) +17:50:53:290 INFO 5504 --- [bunny-service] [http-nio-8800-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +17:50:53:290 INFO 5504 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +17:50:53:291 INFO 5504 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +17:50:58:353 ERROR 5504 --- [bunny-service] [http-nio-8800-exec-9] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:50:58:502 INFO 5504 --- [bunny-service] [http-nio-8800-exec-10] o.springdoc.api.AbstractOpenApiResource : Init duration for springdoc-openapi is: 110 ms +17:52:22:225 ERROR 5504 --- [bunny-service] [http-nio-8800-exec-6] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:54:36:506 INFO 22924 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Starting ServiceApplication using Java 21.0.2 with PID 22924 (G:\web项目\Bunny-Cli\Java\java-template\service\target\classes started by 13199 in G:\web项目\Bunny-Cli\Java\java-template) +17:54:36:506 INFO 22924 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : The following 1 profile is active: "dev" +17:54:36:939 INFO 22924 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +17:54:36:941 INFO 22924 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +17:54:36:958 INFO 22924 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +17:54:37:336 INFO 22924 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8800 (http) +17:54:37:343 INFO 22924 --- [bunny-service] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +17:54:37:343 INFO 22924 --- [bunny-service] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +17:54:37:387 INFO 22924 --- [bunny-service] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +17:54:37:387 INFO 22924 --- [bunny-service] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 858 ms +17:54:37:445 INFO 22924 --- [bunny-service] [main] c.b.c.service.config.MybatisPlusConfig : MybatisPlusInterceptor===>注入Mybatis-Plus配置... +17:54:37:727 INFO 22924 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>使用StringRedisSerializer序列化为字符串 +17:54:37:791 INFO 22924 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>解决cache(@Cacheable)把数据缓存到redis中的value是乱码问题 +17:54:37:794 INFO 22924 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>指定的日期模式 +17:54:37:798 INFO 22924 --- [bunny-service] [main] c.b.c.s.properties.MinioProperties : 注册MinioClient... +17:54:38:262 INFO 22924 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@33060020, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@443b6765, org.springframework.security.web.context.SecurityContextHolderFilter@22c4354d, org.springframework.security.web.header.HeaderWriterFilter@7c07023, org.springframework.web.filter.CorsFilter@a72925, org.springframework.security.web.csrf.CsrfFilter@151d216e, org.springframework.security.web.authentication.logout.LogoutFilter@1477d4e6, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@2c51c756, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@15fd3088, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@4feaa4b8, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@45964b9e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@41f5389f, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@3a012678, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4c6eaa65, org.springframework.security.web.access.ExceptionTranslationFilter@5d373794, org.springframework.security.web.access.intercept.AuthorizationFilter@43201f84] +17:54:38:300 INFO 22924 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' +17:54:38:305 INFO 22924 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 2.076 seconds (process running for 2.404) +17:54:40:093 INFO 22924 --- [bunny-service] [http-nio-8800-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +17:54:40:093 INFO 22924 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +17:54:40:094 INFO 22924 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +17:54:46:782 ERROR 22924 --- [bunny-service] [http-nio-8800-exec-9] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:54:46:928 INFO 22924 --- [bunny-service] [http-nio-8800-exec-2] o.springdoc.api.AbstractOpenApiResource : Init duration for springdoc-openapi is: 108 ms +17:56:19:989 INFO 21468 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Starting ServiceApplication using Java 21.0.2 with PID 21468 (G:\web项目\Bunny-Cli\Java\java-template\service\target\classes started by 13199 in G:\web项目\Bunny-Cli\Java\java-template) +17:56:19:990 INFO 21468 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : The following 1 profile is active: "dev" +17:56:20:403 INFO 21468 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +17:56:20:405 INFO 21468 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +17:56:20:419 INFO 21468 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +17:56:20:772 INFO 21468 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8800 (http) +17:56:20:779 INFO 21468 --- [bunny-service] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +17:56:20:779 INFO 21468 --- [bunny-service] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +17:56:20:820 INFO 21468 --- [bunny-service] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +17:56:20:820 INFO 21468 --- [bunny-service] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 808 ms +17:56:20:872 INFO 21468 --- [bunny-service] [main] c.b.c.service.config.MybatisPlusConfig : MybatisPlusInterceptor===>注入Mybatis-Plus配置... +17:56:21:124 INFO 21468 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>使用StringRedisSerializer序列化为字符串 +17:56:21:189 INFO 21468 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>解决cache(@Cacheable)把数据缓存到redis中的value是乱码问题 +17:56:21:192 INFO 21468 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>指定的日期模式 +17:56:21:197 INFO 21468 --- [bunny-service] [main] c.b.c.s.properties.MinioProperties : 注册MinioClient... +17:56:21:652 INFO 21468 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@22ea6051, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@539bb233, org.springframework.security.web.context.SecurityContextHolderFilter@32f45e15, org.springframework.security.web.header.HeaderWriterFilter@15fd3088, org.springframework.web.filter.CorsFilter@21b2579d, org.springframework.security.web.csrf.CsrfFilter@75507e68, org.springframework.security.web.authentication.logout.LogoutFilter@27691ee8, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@166a5659, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@1ba98508, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@87f1201, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@49770ef9, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5ef7ae2f, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1bcf2c64, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@796613b7, org.springframework.security.web.access.ExceptionTranslationFilter@7f584d0c, org.springframework.security.web.access.intercept.AuthorizationFilter@45964b9e] +17:56:21:689 INFO 21468 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' +17:56:21:694 INFO 21468 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 1.954 seconds (process running for 2.298) +17:56:23:516 INFO 21468 --- [bunny-service] [http-nio-8800-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +17:56:23:516 INFO 21468 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +17:56:23:517 INFO 21468 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +17:56:26:380 ERROR 21468 --- [bunny-service] [http-nio-8800-exec-7] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:56:26:520 INFO 21468 --- [bunny-service] [http-nio-8800-exec-10] o.springdoc.api.AbstractOpenApiResource : Init duration for springdoc-openapi is: 102 ms +17:59:09:914 INFO 25036 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Starting ServiceApplication using Java 21.0.2 with PID 25036 (G:\web项目\Bunny-Cli\Java\java-template\service\target\classes started by 13199 in G:\web项目\Bunny-Cli\Java\java-template) +17:59:09:914 INFO 25036 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : The following 1 profile is active: "dev" +17:59:10:320 INFO 25036 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +17:59:10:321 INFO 25036 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +17:59:10:337 INFO 25036 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +17:59:10:716 INFO 25036 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8800 (http) +17:59:10:723 INFO 25036 --- [bunny-service] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +17:59:10:724 INFO 25036 --- [bunny-service] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +17:59:10:767 INFO 25036 --- [bunny-service] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +17:59:10:767 INFO 25036 --- [bunny-service] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 829 ms +17:59:10:820 INFO 25036 --- [bunny-service] [main] c.b.c.service.config.MybatisPlusConfig : MybatisPlusInterceptor===>注入Mybatis-Plus配置... +17:59:11:071 INFO 25036 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>使用StringRedisSerializer序列化为字符串 +17:59:11:134 INFO 25036 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>解决cache(@Cacheable)把数据缓存到redis中的value是乱码问题 +17:59:11:136 INFO 25036 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>指定的日期模式 +17:59:11:142 INFO 25036 --- [bunny-service] [main] c.b.c.s.properties.MinioProperties : 注册MinioClient... +17:59:11:601 INFO 25036 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@6a261998, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@70f3bf00, org.springframework.security.web.context.SecurityContextHolderFilter@7f584d0c, org.springframework.security.web.header.HeaderWriterFilter@3a012678, org.springframework.web.filter.CorsFilter@49770ef9, org.springframework.security.web.csrf.CsrfFilter@73905dff, org.springframework.security.web.authentication.logout.LogoutFilter@4a34de5e, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@58fbfefb, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@1bcf2c64, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@15bcecf9, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4feaa4b8, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@15fd3088, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@f13e0a2, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4f0cdd0f, org.springframework.security.web.access.ExceptionTranslationFilter@2681185e, org.springframework.security.web.access.intercept.AuthorizationFilter@219a2203] +17:59:11:634 INFO 25036 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' +17:59:11:638 INFO 25036 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 1.975 seconds (process running for 2.304) +17:59:13:119 INFO 25036 --- [bunny-service] [http-nio-8800-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +17:59:13:119 INFO 25036 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +17:59:13:120 INFO 25036 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +17:59:16:150 ERROR 25036 --- [bunny-service] [http-nio-8800-exec-7] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:59:16:286 INFO 25036 --- [bunny-service] [http-nio-8800-exec-8] o.springdoc.api.AbstractOpenApiResource : Init duration for springdoc-openapi is: 102 ms +17:59:22:322 ERROR 25036 --- [bunny-service] [http-nio-8800-exec-2] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:59:23:328 ERROR 25036 --- [bunny-service] [http-nio-8800-exec-4] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:59:24:095 ERROR 25036 --- [bunny-service] [http-nio-8800-exec-3] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:59:29:057 ERROR 25036 --- [bunny-service] [http-nio-8800-exec-6] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +17:59:29:910 ERROR 25036 --- [bunny-service] [http-nio-8800-exec-1] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +18:02:15:643 INFO 24168 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Starting ServiceApplication using Java 21.0.2 with PID 24168 (G:\web项目\Bunny-Cli\Java\java-template\service\target\classes started by 13199 in G:\web项目\Bunny-Cli\Java\java-template) +18:02:15:644 INFO 24168 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : The following 1 profile is active: "dev" +18:02:16:049 INFO 24168 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +18:02:16:049 INFO 24168 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +18:02:16:065 INFO 24168 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +18:02:16:415 INFO 24168 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8800 (http) +18:02:16:421 INFO 24168 --- [bunny-service] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +18:02:16:421 INFO 24168 --- [bunny-service] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +18:02:16:461 INFO 24168 --- [bunny-service] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +18:02:16:461 INFO 24168 --- [bunny-service] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 794 ms +18:02:16:513 INFO 24168 --- [bunny-service] [main] c.b.c.service.config.MybatisPlusConfig : MybatisPlusInterceptor===>注入Mybatis-Plus配置... +18:02:16:765 INFO 24168 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>使用StringRedisSerializer序列化为字符串 +18:02:16:829 INFO 24168 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>解决cache(@Cacheable)把数据缓存到redis中的value是乱码问题 +18:02:16:833 INFO 24168 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>指定的日期模式 +18:02:16:837 INFO 24168 --- [bunny-service] [main] c.b.c.s.properties.MinioProperties : 注册MinioClient... +18:02:17:291 INFO 24168 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@78324e97, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@73417494, org.springframework.security.web.context.SecurityContextHolderFilter@b75f3f4, org.springframework.security.web.header.HeaderWriterFilter@4b552b13, org.springframework.web.filter.CorsFilter@29b0c169, org.springframework.security.web.csrf.CsrfFilter@2681185e, org.springframework.security.web.authentication.logout.LogoutFilter@32e7df65, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@4f0cdd0f, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@9fd3b61, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@4d1b4fa1, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1b120d48, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@5570dc21, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@1477d4e6, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@27b7e663, org.springframework.security.web.access.ExceptionTranslationFilter@4e481512, org.springframework.security.web.access.intercept.AuthorizationFilter@15bcecf9] +18:02:17:324 INFO 24168 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' +18:02:17:329 INFO 24168 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 1.935 seconds (process running for 2.299) +18:02:22:134 INFO 24168 --- [bunny-service] [http-nio-8800-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +18:02:22:134 INFO 24168 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +18:02:22:135 INFO 24168 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +18:09:35:700 INFO 10524 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Starting ServiceApplication using Java 21.0.2 with PID 10524 (G:\web项目\Bunny-Cli\Java\java-template\service\target\classes started by 13199 in G:\web项目\Bunny-Cli\Java\java-template) +18:09:35:701 INFO 10524 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : The following 1 profile is active: "dev" +18:09:36:133 INFO 10524 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +18:09:36:135 INFO 10524 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +18:09:36:151 INFO 10524 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +18:09:36:514 INFO 10524 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8800 (http) +18:09:36:521 INFO 10524 --- [bunny-service] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +18:09:36:521 INFO 10524 --- [bunny-service] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +18:09:36:564 INFO 10524 --- [bunny-service] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +18:09:36:564 INFO 10524 --- [bunny-service] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 839 ms +18:09:36:622 INFO 10524 --- [bunny-service] [main] c.b.c.service.config.MybatisPlusConfig : MybatisPlusInterceptor===>注入Mybatis-Plus配置... +18:09:36:872 INFO 10524 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>使用StringRedisSerializer序列化为字符串 +18:09:36:935 INFO 10524 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>解决cache(@Cacheable)把数据缓存到redis中的value是乱码问题 +18:09:36:937 INFO 10524 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>指定的日期模式 +18:09:36:941 INFO 10524 --- [bunny-service] [main] c.b.c.s.properties.MinioProperties : 注册MinioClient... +18:09:37:390 INFO 10524 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@1afabf06, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@33060020, org.springframework.security.web.context.SecurityContextHolderFilter@774189d0, org.springframework.security.web.header.HeaderWriterFilter@7304ca87, org.springframework.web.filter.CorsFilter@443b6765, org.springframework.security.web.csrf.CsrfFilter@48f2d51d, org.springframework.security.web.authentication.logout.LogoutFilter@5570dc21, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@43201f84, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@4c599679, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@a72925, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@421d7900, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@2681185e, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@41f5389f, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@4feaa4b8, org.springframework.security.web.access.ExceptionTranslationFilter@18918d70, org.springframework.security.web.access.intercept.AuthorizationFilter@77648321] +18:09:37:421 INFO 10524 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' +18:09:37:426 INFO 10524 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 1.98 seconds (process running for 2.308) +18:09:39:687 INFO 10524 --- [bunny-service] [http-nio-8800-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +18:09:39:687 INFO 10524 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +18:09:39:689 INFO 10524 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms +18:09:45:133 ERROR 10524 --- [bunny-service] [http-nio-8800-exec-2] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +18:09:45:269 INFO 10524 --- [bunny-service] [http-nio-8800-exec-6] o.springdoc.api.AbstractOpenApiResource : Init duration for springdoc-openapi is: 101 ms +18:10:01:541 ERROR 10524 --- [bunny-service] [http-nio-8800-exec-5] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +18:10:06:572 ERROR 10524 --- [bunny-service] [http-nio-8800-exec-4] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +18:23:29:234 INFO 26368 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Starting ServiceApplication using Java 21.0.2 with PID 26368 (G:\web项目\Bunny-Cli\Java\java-template\service\target\classes started by 13199 in G:\web项目\Bunny-Cli\Java\java-template) +18:23:29:235 INFO 26368 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : The following 1 profile is active: "dev" +18:23:29:667 INFO 26368 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +18:23:29:668 INFO 26368 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +18:23:29:683 INFO 26368 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +18:23:30:050 INFO 26368 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8800 (http) +18:23:30:064 INFO 26368 --- [bunny-service] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +18:23:30:064 INFO 26368 --- [bunny-service] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +18:23:30:103 INFO 26368 --- [bunny-service] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +18:23:30:103 INFO 26368 --- [bunny-service] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 844 ms +18:23:30:163 INFO 26368 --- [bunny-service] [main] c.b.c.service.config.MybatisPlusConfig : MybatisPlusInterceptor===>注入Mybatis-Plus配置... +18:23:30:458 INFO 26368 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>使用StringRedisSerializer序列化为字符串 +18:23:30:532 INFO 26368 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>解决cache(@Cacheable)把数据缓存到redis中的value是乱码问题 +18:23:30:534 INFO 26368 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>指定的日期模式 +18:23:30:540 INFO 26368 --- [bunny-service] [main] c.b.c.s.properties.MinioProperties : 注册MinioClient... +18:23:31:032 INFO 26368 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@2059c3ff, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@2f8ab988, org.springframework.security.web.context.SecurityContextHolderFilter@68af8288, org.springframework.security.web.header.HeaderWriterFilter@7772ec28, org.springframework.web.filter.CorsFilter@46c475ba, org.springframework.security.web.csrf.CsrfFilter@6b170692, org.springframework.security.web.authentication.logout.LogoutFilter@613a608e, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@386f88b3, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@e08d871, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@e47637c, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@7d4e424e, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@34ab398b, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@71634e64, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@606f0f70, org.springframework.security.web.access.ExceptionTranslationFilter@2ad6aeb8, org.springframework.security.web.access.intercept.AuthorizationFilter@51097500] +18:23:31:081 INFO 26368 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' +18:23:31:086 INFO 26368 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 2.125 seconds (process running for 2.48) +18:23:40:585 INFO 26368 --- [bunny-service] [http-nio-8800-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +18:23:40:585 INFO 26368 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +18:23:40:586 INFO 26368 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +18:23:46:957 ERROR 26368 --- [bunny-service] [http-nio-8800-exec-1] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +18:23:47:104 INFO 26368 --- [bunny-service] [http-nio-8800-exec-4] o.springdoc.api.AbstractOpenApiResource : Init duration for springdoc-openapi is: 106 ms +18:26:39:343 INFO 19136 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Starting ServiceApplication using Java 21.0.2 with PID 19136 (G:\web项目\Bunny-Cli\Java\java-template\service\target\classes started by 13199 in G:\web项目\Bunny-Cli\Java\java-template) +18:26:39:345 INFO 19136 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : The following 1 profile is active: "dev" +18:26:39:796 INFO 19136 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +18:26:39:797 INFO 19136 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +18:26:39:813 INFO 19136 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +18:26:40:232 INFO 19136 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8800 (http) +18:26:40:242 INFO 19136 --- [bunny-service] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +18:26:40:242 INFO 19136 --- [bunny-service] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +18:26:40:298 INFO 19136 --- [bunny-service] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +18:26:40:298 INFO 19136 --- [bunny-service] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 930 ms +18:26:40:381 INFO 19136 --- [bunny-service] [main] c.b.c.service.config.MybatisPlusConfig : MybatisPlusInterceptor===>注入Mybatis-Plus配置... +18:26:40:699 INFO 19136 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>使用StringRedisSerializer序列化为字符串 +18:26:40:772 INFO 19136 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>解决cache(@Cacheable)把数据缓存到redis中的value是乱码问题 +18:26:40:776 INFO 19136 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>指定的日期模式 +18:26:40:782 INFO 19136 --- [bunny-service] [main] c.b.c.s.properties.MinioProperties : 注册MinioClient... +18:26:41:256 INFO 19136 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@65cc3902, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@c79915a, org.springframework.security.web.context.SecurityContextHolderFilter@4f0cdd0f, org.springframework.security.web.header.HeaderWriterFilter@70f3bf00, org.springframework.web.filter.CorsFilter@6173863f, org.springframework.security.web.csrf.CsrfFilter@4ef277ef, org.springframework.security.web.authentication.logout.LogoutFilter@fa689db, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@2941631f, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@34c07ecc, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@a08e41b, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@8dc3019, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@539bb233, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@21b2579d, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@e08d871, org.springframework.security.web.access.ExceptionTranslationFilter@53f1fcc2, org.springframework.security.web.access.intercept.AuthorizationFilter@25e24908] +18:26:41:295 INFO 19136 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' +18:26:41:303 INFO 19136 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 2.223 seconds (process running for 2.56) +18:26:41:340 INFO 19136 --- [bunny-service] [http-nio-8800-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +18:26:41:340 INFO 19136 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +18:26:41:342 INFO 19136 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +18:26:54:251 ERROR 19136 --- [bunny-service] [http-nio-8800-exec-9] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +18:26:54:393 INFO 19136 --- [bunny-service] [http-nio-8800-exec-3] o.springdoc.api.AbstractOpenApiResource : Init duration for springdoc-openapi is: 103 ms +18:27:00:094 ERROR 19136 --- [bunny-service] [http-nio-8800-exec-4] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +18:27:09:682 ERROR 19136 --- [bunny-service] [http-nio-8800-exec-2] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +18:31:34:044 INFO 19716 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Starting ServiceApplication using Java 21.0.2 with PID 19716 (G:\web项目\Bunny-Cli\Java\java-template\service\target\classes started by 13199 in G:\web项目\Bunny-Cli\Java\java-template) +18:31:34:045 INFO 19716 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : The following 1 profile is active: "dev" +18:31:34:462 INFO 19716 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +18:31:34:463 INFO 19716 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +18:31:34:479 INFO 19716 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 8 ms. Found 0 Redis repository interfaces. +18:31:34:838 INFO 19716 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8800 (http) +18:31:34:844 INFO 19716 --- [bunny-service] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +18:31:34:845 INFO 19716 --- [bunny-service] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +18:31:34:885 INFO 19716 --- [bunny-service] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +18:31:34:886 INFO 19716 --- [bunny-service] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 815 ms +18:31:34:939 INFO 19716 --- [bunny-service] [main] c.b.c.service.config.MybatisPlusConfig : MybatisPlusInterceptor===>注入Mybatis-Plus配置... +18:31:35:191 INFO 19716 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>使用StringRedisSerializer序列化为字符串 +18:31:35:256 INFO 19716 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>解决cache(@Cacheable)把数据缓存到redis中的value是乱码问题 +18:31:35:259 INFO 19716 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>指定的日期模式 +18:31:35:264 INFO 19716 --- [bunny-service] [main] c.b.c.s.properties.MinioProperties : 注册MinioClient... +18:31:35:598 INFO 19716 --- [bunny-service] [main] c.b.common.service.config.Knife4jConfig : Knife4jConfig===>配置knife4j +18:31:35:603 INFO 19716 --- [bunny-service] [main] c.b.common.service.config.Knife4jConfig : Knife4jConfig===>配置knife4j +18:31:35:724 INFO 19716 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@be9cc86, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@68af8288, org.springframework.security.web.context.SecurityContextHolderFilter@53f1fcc2, org.springframework.security.web.header.HeaderWriterFilter@a72925, org.springframework.web.filter.CorsFilter@8dc3019, org.springframework.security.web.csrf.CsrfFilter@27691ee8, org.springframework.security.web.authentication.logout.LogoutFilter@7f53b345, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@15aaf7b1, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@21b2579d, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@34ab398b, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4e35a219, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@70f3bf00, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@49770ef9, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@71634e64, org.springframework.security.web.access.ExceptionTranslationFilter@33060020, org.springframework.security.web.access.intercept.AuthorizationFilter@430db481] +18:31:35:766 INFO 19716 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' +18:31:35:772 INFO 19716 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 1.994 seconds (process running for 2.331) +18:33:55:015 INFO 19716 --- [bunny-service] [http-nio-8800-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +18:33:55:016 INFO 19716 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +18:33:55:016 INFO 19716 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms +18:34:00:382 ERROR 19716 --- [bunny-service] [http-nio-8800-exec-5] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource . +18:34:00:462 ERROR 19716 --- [bunny-service] [http-nio-8800-exec-7] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +18:34:53:391 INFO 26600 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Starting ServiceApplication using Java 21.0.2 with PID 26600 (G:\web项目\Bunny-Cli\Java\java-template\service\target\classes started by 13199 in G:\web项目\Bunny-Cli\Java\java-template) +18:34:53:392 INFO 26600 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : The following 1 profile is active: "dev" +18:34:53:819 INFO 26600 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +18:34:53:820 INFO 26600 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +18:34:53:835 INFO 26600 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +18:34:54:212 INFO 26600 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8800 (http) +18:34:54:219 INFO 26600 --- [bunny-service] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +18:34:54:219 INFO 26600 --- [bunny-service] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +18:34:54:261 INFO 26600 --- [bunny-service] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +18:34:54:261 INFO 26600 --- [bunny-service] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 844 ms +18:34:54:319 INFO 26600 --- [bunny-service] [main] c.b.c.service.config.MybatisPlusConfig : MybatisPlusInterceptor===>注入Mybatis-Plus配置... +18:34:54:588 INFO 26600 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>使用StringRedisSerializer序列化为字符串 +18:34:54:657 INFO 26600 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>解决cache(@Cacheable)把数据缓存到redis中的value是乱码问题 +18:34:54:658 INFO 26600 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>指定的日期模式 +18:34:54:664 INFO 26600 --- [bunny-service] [main] c.b.c.s.properties.MinioProperties : 注册MinioClient... +18:34:55:004 INFO 26600 --- [bunny-service] [main] c.b.common.service.config.Knife4jConfig : Knife4jConfig===>配置knife4j +18:34:55:008 INFO 26600 --- [bunny-service] [main] c.b.common.service.config.Knife4jConfig : Knife4jConfig===>配置knife4j +18:34:55:133 INFO 26600 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@2ad6aeb8, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@4e35a219, org.springframework.security.web.context.SecurityContextHolderFilter@443b6765, org.springframework.security.web.header.HeaderWriterFilter@166a5659, org.springframework.web.filter.CorsFilter@7772ec28, org.springframework.security.web.csrf.CsrfFilter@48da5106, org.springframework.security.web.authentication.logout.LogoutFilter@27b7e663, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@656672fb, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@15bcecf9, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@14d513ca, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@6130a6f5, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@4feaa4b8, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@4c6eaa65, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@be9cc86, org.springframework.security.web.access.ExceptionTranslationFilter@421d7900, org.springframework.security.web.access.intercept.AuthorizationFilter@3696d12d] +18:34:55:171 INFO 26600 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' +18:34:55:182 INFO 26600 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 2.065 seconds (process running for 2.427) +18:34:57:525 INFO 26600 --- [bunny-service] [http-nio-8800-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +18:34:57:525 INFO 26600 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +18:34:57:526 INFO 26600 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +18:35:00:603 ERROR 26600 --- [bunny-service] [http-nio-8800-exec-6] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource . +18:35:00:677 ERROR 26600 --- [bunny-service] [http-nio-8800-exec-7] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +18:35:17:768 INFO 20028 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Starting ServiceApplication using Java 21.0.2 with PID 20028 (G:\web项目\Bunny-Cli\Java\java-template\service\target\classes started by 13199 in G:\web项目\Bunny-Cli\Java\java-template) +18:35:17:769 INFO 20028 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : The following 1 profile is active: "dev" +18:35:18:198 INFO 20028 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +18:35:18:200 INFO 20028 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +18:35:18:216 INFO 20028 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +18:35:18:570 INFO 20028 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8800 (http) +18:35:18:578 INFO 20028 --- [bunny-service] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +18:35:18:578 INFO 20028 --- [bunny-service] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +18:35:18:625 INFO 20028 --- [bunny-service] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +18:35:18:626 INFO 20028 --- [bunny-service] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 834 ms +18:35:18:685 INFO 20028 --- [bunny-service] [main] c.b.c.service.config.MybatisPlusConfig : MybatisPlusInterceptor===>注入Mybatis-Plus配置... +18:35:18:933 INFO 20028 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>使用StringRedisSerializer序列化为字符串 +18:35:19:001 INFO 20028 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>解决cache(@Cacheable)把数据缓存到redis中的value是乱码问题 +18:35:19:003 INFO 20028 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>指定的日期模式 +18:35:19:007 INFO 20028 --- [bunny-service] [main] c.b.c.s.properties.MinioProperties : 注册MinioClient... +18:35:19:349 INFO 20028 --- [bunny-service] [main] c.b.common.service.config.Knife4jConfig : Knife4jConfig===>配置knife4j +18:35:19:354 INFO 20028 --- [bunny-service] [main] c.b.common.service.config.Knife4jConfig : Knife4jConfig===>配置knife4j +18:35:19:472 INFO 20028 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@67372d20, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@25e24908, org.springframework.security.web.context.SecurityContextHolderFilter@32e7df65, org.springframework.security.web.header.HeaderWriterFilter@219a2203, org.springframework.web.filter.CorsFilter@2941631f, org.springframework.security.web.csrf.CsrfFilter@30b97fcf, org.springframework.security.web.authentication.logout.LogoutFilter@236f3885, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@fa689db, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@4feaa4b8, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@6130a6f5, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@15aaf7b1, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@45964b9e, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@166a5659, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@3fb0d9de, org.springframework.security.web.access.ExceptionTranslationFilter@5ec3689b, org.springframework.security.web.access.intercept.AuthorizationFilter@ad585fb] +18:35:19:507 INFO 20028 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' +18:35:19:518 INFO 20028 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 2.009 seconds (process running for 2.355) +18:35:22:114 INFO 20028 --- [bunny-service] [http-nio-8800-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +18:35:22:114 INFO 20028 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +18:35:22:115 INFO 20028 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +18:35:24:330 ERROR 20028 --- [bunny-service] [http-nio-8800-exec-6] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource . +18:35:24:405 ERROR 20028 --- [bunny-service] [http-nio-8800-exec-7] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource favicon.ico. +18:35:46:953 INFO 25872 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Starting ServiceApplication using Java 21.0.2 with PID 25872 (G:\web项目\Bunny-Cli\Java\java-template\service\target\classes started by 13199 in G:\web项目\Bunny-Cli\Java\java-template) +18:35:46:954 INFO 25872 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : The following 1 profile is active: "dev" +18:35:47:374 INFO 25872 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode +18:35:47:376 INFO 25872 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. +18:35:47:392 INFO 25872 --- [bunny-service] [main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. +18:35:47:749 INFO 25872 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8800 (http) +18:35:47:756 INFO 25872 --- [bunny-service] [main] o.apache.catalina.core.StandardService : Starting service [Tomcat] +18:35:47:756 INFO 25872 --- [bunny-service] [main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.20] +18:35:47:795 INFO 25872 --- [bunny-service] [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext +18:35:47:795 INFO 25872 --- [bunny-service] [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 818 ms +18:35:47:848 INFO 25872 --- [bunny-service] [main] c.b.c.service.config.MybatisPlusConfig : MybatisPlusInterceptor===>注入Mybatis-Plus配置... +18:35:48:099 INFO 25872 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>使用StringRedisSerializer序列化为字符串 +18:35:48:165 INFO 25872 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>解决cache(@Cacheable)把数据缓存到redis中的value是乱码问题 +18:35:48:167 INFO 25872 --- [bunny-service] [main] c.b.c.service.config.RedisConfiguration : RedisConfiguration===>指定的日期模式 +18:35:48:172 INFO 25872 --- [bunny-service] [main] c.b.c.s.properties.MinioProperties : 注册MinioClient... +18:35:48:433 INFO 25872 --- [bunny-service] [main] c.b.c.s.config.WebMvcConfiguration : WebMvcConfiguration===>设置 +18:35:48:508 INFO 25872 --- [bunny-service] [main] c.b.common.service.config.Knife4jConfig : Knife4jConfig===>配置knife4j +18:35:48:512 INFO 25872 --- [bunny-service] [main] c.b.common.service.config.Knife4jConfig : Knife4jConfig===>配置knife4j +18:35:48:627 INFO 25872 --- [bunny-service] [main] o.s.s.web.DefaultSecurityFilterChain : Will secure any request with [org.springframework.security.web.session.DisableEncodeUrlFilter@be9cc86, org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@68af8288, org.springframework.security.web.context.SecurityContextHolderFilter@53f1fcc2, org.springframework.security.web.header.HeaderWriterFilter@a72925, org.springframework.web.filter.CorsFilter@8dc3019, org.springframework.security.web.csrf.CsrfFilter@27691ee8, org.springframework.security.web.authentication.logout.LogoutFilter@7f53b345, org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter@15aaf7b1, org.springframework.security.web.authentication.ui.DefaultLoginPageGeneratingFilter@21b2579d, org.springframework.security.web.authentication.ui.DefaultLogoutPageGeneratingFilter@34ab398b, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@4e35a219, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@70f3bf00, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@49770ef9, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@71634e64, org.springframework.security.web.access.ExceptionTranslationFilter@33060020, org.springframework.security.web.access.intercept.AuthorizationFilter@430db481] +18:35:48:667 INFO 25872 --- [bunny-service] [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8800 (http) with context path '' +18:35:48:672 INFO 25872 --- [bunny-service] [main] cn.bunny.service.ServiceApplication : Started ServiceApplication in 1.979 seconds (process running for 2.327) +18:35:52:910 INFO 25872 --- [bunny-service] [http-nio-8800-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' +18:35:52:910 INFO 25872 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' +18:35:52:911 INFO 25872 --- [bunny-service] [http-nio-8800-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms +18:35:54:928 ERROR 25872 --- [bunny-service] [http-nio-8800-exec-6] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource . +18:35:55:002 ERROR 25872 --- [bunny-service] [http-nio-8800-exec-4] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource /favicon.ico. +18:35:59:399 ERROR 25872 --- [bunny-service] [http-nio-8800-exec-1] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource /favicon.ico. +18:35:59:540 INFO 25872 --- [bunny-service] [http-nio-8800-exec-2] o.springdoc.api.AbstractOpenApiResource : Init duration for springdoc-openapi is: 102 ms +18:36:08:266 ERROR 25872 --- [bunny-service] [http-nio-8800-exec-7] c.b.c.s.e.GlobalExceptionHandler : GlobalExceptionHandler===>系统异常信息:No static resource /favicon.ico. diff --git a/model/pom.xml b/model/pom.xml index 571bb26..5f33789 100644 --- a/model/pom.xml +++ b/model/pom.xml @@ -26,25 +26,38 @@ com.alibaba.fastjson2 fastjson2 + + + mysql + mysql-connector-java + + + + com.zaxxer + HikariCP + 5.1.0 + com.baomidou mybatis-plus-spring-boot3-starter + com.github.xiaoymin - knife4j-spring-boot-starter + knife4j-openapi3-jakarta-spring-boot-starter + org.springframework.boot spring-boot-starter-security - + org.springframework.security spring-security-test - + org.springframework.boot spring-boot-starter-web diff --git a/model/src/main/java/cn/bunny/entity/base/BaseEntity.java b/model/src/main/java/cn/bunny/entity/base/BaseEntity.java index cafa523..abab55e 100644 --- a/model/src/main/java/cn/bunny/entity/base/BaseEntity.java +++ b/model/src/main/java/cn/bunny/entity/base/BaseEntity.java @@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableLogic; +import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.io.Serializable; @@ -15,6 +16,7 @@ import java.util.Map; public class BaseEntity implements Serializable { @TableId(type = IdType.AUTO) + @Schema(description = "唯一标识") private Long id; @TableField("create_time") diff --git a/model/src/main/java/cn/bunny/entity/system/SysDept.java b/model/src/main/java/cn/bunny/entity/system/SysDept.java index e49bd9e..4565f40 100644 --- a/model/src/main/java/cn/bunny/entity/system/SysDept.java +++ b/model/src/main/java/cn/bunny/entity/system/SysDept.java @@ -3,49 +3,47 @@ package cn.bunny.entity.system; import cn.bunny.entity.base.BaseEntity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import java.util.List; @Data -@ApiModel(description = "部门") +@Schema(description = "部门") @TableName("sys_dept") public class SysDept extends BaseEntity { private static final long serialVersionUID = 1L; - @ApiModelProperty(value = "部门名称") + @Schema(description = "部门名称") @TableField("name") private String name; - @ApiModelProperty(value = "上级部门id") + @Schema(description = "上级部门id") @TableField("parent_id") private Long parentId; - @ApiModelProperty(value = "树结构") + @Schema(description = "树结构") @TableField("tree_path") private String treePath; - @ApiModelProperty(value = "排序") + @Schema(description = "排序") @TableField("sort_value") private Integer sortValue; - @ApiModelProperty(value = "负责人") + @Schema(description = "负责人") @TableField("leader") private String leader; - @ApiModelProperty(value = "电话") + @Schema(description = "电话") @TableField("phone") private String phone; - @ApiModelProperty(value = "状态(1正常 0停用)") + @Schema(description = "状态(1正常 0停用)") @TableField("status") private Integer status; - @ApiModelProperty(value = "下级部门") + @Schema(description = "下级部门") @TableField(exist = false) private List children; - } \ No newline at end of file diff --git a/model/src/main/java/cn/bunny/entity/system/SysLoginLog.java b/model/src/main/java/cn/bunny/entity/system/SysLoginLog.java index ea2ec20..4675fbf 100644 --- a/model/src/main/java/cn/bunny/entity/system/SysLoginLog.java +++ b/model/src/main/java/cn/bunny/entity/system/SysLoginLog.java @@ -3,36 +3,39 @@ package cn.bunny.entity.system; import cn.bunny.entity.base.BaseEntity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; +import lombok.EqualsAndHashCode; +import java.io.Serial; import java.util.Date; +@EqualsAndHashCode(callSuper = true) @Data -@ApiModel(description = "SysLoginLog") +@Schema(description = "SysLoginLog") @TableName("sys_login_log") public class SysLoginLog extends BaseEntity { + @Serial private static final long serialVersionUID = 1L; - @ApiModelProperty(value = "用户账号") + @Schema(description = "用户账号") @TableField("username") private String username; - @ApiModelProperty(value = "登录IP地址") + @Schema(description = "登录IP地址") @TableField("ipaddr") private String ipaddr; - @ApiModelProperty(value = "登录状态(0成功 1失败)") + @Schema(description = "登录状态(0成功 1失败)") @TableField("status") private Integer status; - @ApiModelProperty(value = "提示信息") + @Schema(description = "提示信息") @TableField("msg") private String msg; - @ApiModelProperty(value = "访问时间") + @Schema(description = "访问时间") @TableField("access_time") private Date accessTime; diff --git a/model/src/main/java/cn/bunny/entity/system/SysMenu.java b/model/src/main/java/cn/bunny/entity/system/SysMenu.java index 04017c3..75e4dde 100644 --- a/model/src/main/java/cn/bunny/entity/system/SysMenu.java +++ b/model/src/main/java/cn/bunny/entity/system/SysMenu.java @@ -3,52 +3,55 @@ package cn.bunny.entity.system; import cn.bunny.entity.base.BaseEntity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; +import lombok.EqualsAndHashCode; +import java.io.Serial; import java.util.List; +@EqualsAndHashCode(callSuper = true) @Data -@ApiModel(description = "菜单") +@Schema(description = "菜单") @TableName("sys_menu") public class SysMenu extends BaseEntity { + @Serial private static final long serialVersionUID = 1L; - @ApiModelProperty(value = "所属上级") + @Schema(description = "所属上级") @TableField("parent_id") private Long parentId; - @ApiModelProperty(value = "名称") + @Schema(description = "名称") @TableField("name") private String name; - @ApiModelProperty(value = "类型(1:菜单,2:按钮)") + @Schema(description = "类型(1:菜单,2:按钮)") @TableField("type") private Integer type; - @ApiModelProperty(value = "路由地址") + @Schema(description = "路由地址") @TableField("path") private String path; - @ApiModelProperty(value = "组件路径") + @Schema(description = "组件路径") @TableField("component") private String component; - @ApiModelProperty(value = "权限标识") + @Schema(description = "权限标识") @TableField("perms") private String perms; - @ApiModelProperty(value = "图标") + @Schema(description = "图标") @TableField("icon") private String icon; - @ApiModelProperty(value = "排序") - @TableField("sort_value") - private Integer sortValue; + @Schema(description = "排序") + @TableField("sort_description") + private Integer sortdescription; - @ApiModelProperty(value = "状态(0:禁止,1:正常)") + @Schema(description = "状态(0:禁止,1:正常)") @TableField("status") private Integer status; diff --git a/model/src/main/java/cn/bunny/entity/system/SysOperLog.java b/model/src/main/java/cn/bunny/entity/system/SysOperLog.java deleted file mode 100644 index 2926a9e..0000000 --- a/model/src/main/java/cn/bunny/entity/system/SysOperLog.java +++ /dev/null @@ -1,75 +0,0 @@ -package cn.bunny.entity.system; - -import cn.bunny.entity.base.BaseEntity; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -import java.util.Date; - -@Data -@ApiModel(description = "SysOperLog") -@TableName("sys_oper_log") -public class SysOperLog extends BaseEntity { - - private static final long serialVersionUID = 1L; - - @ApiModelProperty(value = "模块标题") - @TableField("title") - private String title; - - @ApiModelProperty(value = "业务类型(0其它 1新增 2修改 3删除)") - @TableField("business_type") - private String businessType; - - @ApiModelProperty(value = "方法名称") - @TableField("method") - private String method; - - @ApiModelProperty(value = "请求方式") - @TableField("request_method") - private String requestMethod; - - @ApiModelProperty(value = "操作类别(0其它 1后台用户 2手机端用户)") - @TableField("operator_type") - private String operatorType; - - @ApiModelProperty(value = "操作人员") - @TableField("oper_name") - private String operName; - - @ApiModelProperty(value = "部门名称") - @TableField("dept_name") - private String deptName; - - @ApiModelProperty(value = "请求URL") - @TableField("oper_url") - private String operUrl; - - @ApiModelProperty(value = "主机地址") - @TableField("oper_ip") - private String operIp; - - @ApiModelProperty(value = "请求参数") - @TableField("oper_param") - private String operParam; - - @ApiModelProperty(value = "返回参数") - @TableField("json_result") - private String jsonResult; - - @ApiModelProperty(value = "操作状态(0正常 1异常)") - @TableField("status") - private Integer status; - - @ApiModelProperty(value = "错误消息") - @TableField("error_msg") - private String errorMsg; - - @ApiModelProperty(value = "操作时间") - @TableField("oper_time") - private Date operTime; - -} \ No newline at end of file diff --git a/model/src/main/java/cn/bunny/entity/system/SysPost.java b/model/src/main/java/cn/bunny/entity/system/SysPost.java deleted file mode 100644 index 6712995..0000000 --- a/model/src/main/java/cn/bunny/entity/system/SysPost.java +++ /dev/null @@ -1,33 +0,0 @@ -package cn.bunny.entity.system; - -import cn.bunny.entity.base.BaseEntity; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -@Data -@ApiModel(description = "岗位") -@TableName("sys_post") -public class SysPost extends BaseEntity { - - private static final long serialVersionUID = 1L; - - @ApiModelProperty(value = "岗位编码") - @TableField("post_code") - private String postCode; - - @ApiModelProperty(value = "岗位名称") - @TableField("name") - private String name; - - @ApiModelProperty(value = "显示顺序") - @TableField("description") - private String description; - - @ApiModelProperty(value = "状态(1正常 0停用)") - @TableField("status") - private Integer status; - -} \ No newline at end of file diff --git a/model/src/main/java/cn/bunny/entity/system/SysRole.java b/model/src/main/java/cn/bunny/entity/system/SysRole.java index 54446c4..28b720d 100644 --- a/model/src/main/java/cn/bunny/entity/system/SysRole.java +++ b/model/src/main/java/cn/bunny/entity/system/SysRole.java @@ -3,30 +3,32 @@ package cn.bunny.entity.system; import cn.bunny.entity.base.BaseEntity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; +import lombok.EqualsAndHashCode; + +import java.io.Serial; +@EqualsAndHashCode(callSuper = true) @Data -@ApiModel(description = "角色") +@Schema(description = "角色") @TableName("sys_role") public class SysRole extends BaseEntity { - + @Serial private static final long serialVersionUID = 1L; //@NotBlank(message = "角色名称不能为空") - @ApiModelProperty(value = "角色名称") + @Schema(description = "角色名称") @TableField("role_name") private String roleName; - @ApiModelProperty(value = "角色编码") + @Schema(description = "角色编码") @TableField("role_code") private String roleCode; - @ApiModelProperty(value = "描述") + @Schema(description = "描述") @TableField("description") private String description; - } diff --git a/model/src/main/java/cn/bunny/entity/system/SysRoleMenu.java b/model/src/main/java/cn/bunny/entity/system/SysRoleMenu.java deleted file mode 100644 index c0a8ead..0000000 --- a/model/src/main/java/cn/bunny/entity/system/SysRoleMenu.java +++ /dev/null @@ -1,26 +0,0 @@ -package cn.bunny.entity.system; - -import cn.bunny.entity.base.BaseEntity; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -@Data -@ApiModel(description = "角色菜单") -@TableName("sys_role_menu") -public class SysRoleMenu extends BaseEntity { - - private static final long serialVersionUID = 1L; - - @ApiModelProperty(value = "角色id") - @TableField("role_id") - private Long roleId; - - @ApiModelProperty(value = "菜单id") - @TableField("menu_id") - private Long menuId; - -} - diff --git a/model/src/main/java/cn/bunny/entity/system/SysUser.java b/model/src/main/java/cn/bunny/entity/system/SysUser.java index ef89588..1000b92 100644 --- a/model/src/main/java/cn/bunny/entity/system/SysUser.java +++ b/model/src/main/java/cn/bunny/entity/system/SysUser.java @@ -3,56 +3,59 @@ package cn.bunny.entity.system; import cn.bunny.entity.base.BaseEntity; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; +import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; +import lombok.EqualsAndHashCode; +import java.io.Serial; import java.util.List; +@EqualsAndHashCode(callSuper = true) @Data -@ApiModel(description = "用户") +@Schema(description = "用户") @TableName("sys_user") public class SysUser extends BaseEntity { + @Serial private static final long serialVersionUID = 1L; - @ApiModelProperty(value = "用户名") + @Schema(description = "用户名") @TableField("username") private String username; - @ApiModelProperty(value = "密码") + @Schema(description = "密码") @TableField("password") private String password; - @ApiModelProperty(value = "姓名") + @Schema(description = "姓名") @TableField("name") private String name; - @ApiModelProperty(value = "手机") + @Schema(description = "手机") @TableField("phone") private String phone; - @ApiModelProperty(value = "头像地址") + @Schema(description = "头像地址") @TableField("head_url") private String headUrl; - @ApiModelProperty(value = "部门id") + @Schema(description = "部门id") @TableField("dept_id") private Long deptId; - @ApiModelProperty(value = "岗位id") + @Schema(description = "岗位id") @TableField("post_id") private Long postId; - @ApiModelProperty(value = "描述") + @Schema(description = "描述") @TableField("description") private String description; - @ApiModelProperty(value = "openId") + @Schema(description = "openId") @TableField("open_id") private String openId; - @ApiModelProperty(value = "状态(1:正常 0:停用)") + @Schema(description = "状态(1:正常 0:停用)") @TableField("status") private Integer status; diff --git a/model/src/main/java/cn/bunny/entity/system/SysUserRole.java b/model/src/main/java/cn/bunny/entity/system/SysUserRole.java deleted file mode 100644 index 5b646e7..0000000 --- a/model/src/main/java/cn/bunny/entity/system/SysUserRole.java +++ /dev/null @@ -1,25 +0,0 @@ -package cn.bunny.entity.system; - -import cn.bunny.entity.base.BaseEntity; -import com.baomidou.mybatisplus.annotation.TableField; -import com.baomidou.mybatisplus.annotation.TableName; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -@Data -@ApiModel(description = "用户角色") -@TableName("sys_user_role") -public class SysUserRole extends BaseEntity { - - private static final long serialVersionUID = 1L; - - @ApiModelProperty(value = "角色id") - @TableField("role_id") - private Long roleId; - - @ApiModelProperty(value = "用户id") - @TableField("user_id") - private Long userId; -} - diff --git a/model/src/main/java/cn/bunny/enums/ResultCodeEnum.java b/model/src/main/java/cn/bunny/enums/ResultCodeEnum.java index 5071af7..0047750 100644 --- a/model/src/main/java/cn/bunny/enums/ResultCodeEnum.java +++ b/model/src/main/java/cn/bunny/enums/ResultCodeEnum.java @@ -7,7 +7,6 @@ import lombok.Getter; */ @Getter public enum ResultCodeEnum { - SUCCESS(200, "操作成功"), FAIL(201, "失败"), SERVICE_ERROR(2012, "服务异常"), diff --git a/model/src/main/java/cn/bunny/vo/process/ApprovalVo.java b/model/src/main/java/cn/bunny/vo/process/ApprovalVo.java deleted file mode 100644 index 3002e3d..0000000 --- a/model/src/main/java/cn/bunny/vo/process/ApprovalVo.java +++ /dev/null @@ -1,18 +0,0 @@ -package cn.bunny.vo.process; - -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -@Data -public class ApprovalVo { - - private Long processId; - - private String taskId; - - @ApiModelProperty(value = "状态") - private Integer status; - - @ApiModelProperty(value = "审批描述") - private String description; -} diff --git a/model/src/main/java/cn/bunny/vo/process/ProcessFormVo.java b/model/src/main/java/cn/bunny/vo/process/ProcessFormVo.java deleted file mode 100644 index 1d1f2da..0000000 --- a/model/src/main/java/cn/bunny/vo/process/ProcessFormVo.java +++ /dev/null @@ -1,20 +0,0 @@ -package cn.bunny.vo.process; - -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -@Data -@ApiModel(description = "流程表单") -public class ProcessFormVo { - - @ApiModelProperty(value = "审批模板id") - private Long processTemplateId; - - @ApiModelProperty(value = "审批类型id") - private Long processTypeId; - - @ApiModelProperty(value = "表单值") - private String formValues; - -} \ No newline at end of file diff --git a/model/src/main/java/cn/bunny/vo/process/ProcessQueryVo.java b/model/src/main/java/cn/bunny/vo/process/ProcessQueryVo.java deleted file mode 100644 index 4e4f65f..0000000 --- a/model/src/main/java/cn/bunny/vo/process/ProcessQueryVo.java +++ /dev/null @@ -1,31 +0,0 @@ -package cn.bunny.vo.process; - -import com.baomidou.mybatisplus.annotation.TableField; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -@Data -@ApiModel(description = "Process") -public class ProcessQueryVo { - - @ApiModelProperty(value = "关键字") - private String keyword; - - @ApiModelProperty(value = "用户id") - private Long userId; - - @TableField("process_template_id") - private Long processTemplateId; - - @ApiModelProperty(value = "审批类型id") - private Long processTypeId; - - private String createTimeBegin; - private String createTimeEnd; - - @ApiModelProperty(value = "状态(0:默认 1:审批中 2:审批通过 -1:驳回)") - private Integer status; - - -} \ No newline at end of file diff --git a/model/src/main/java/cn/bunny/vo/process/ProcessVo.java b/model/src/main/java/cn/bunny/vo/process/ProcessVo.java deleted file mode 100644 index 51d910c..0000000 --- a/model/src/main/java/cn/bunny/vo/process/ProcessVo.java +++ /dev/null @@ -1,59 +0,0 @@ -package cn.bunny.vo.process; - -import com.baomidou.mybatisplus.annotation.TableField; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -import java.util.Date; - -@Data -@ApiModel(description = "Process") -public class ProcessVo { - - private Long id; - - private Date createTime; - - @ApiModelProperty(value = "审批code") - private String processCode; - - @ApiModelProperty(value = "用户id") - private Long userId; - private String name; - - @TableField("process_template_id") - private Long processTemplateId; - private String processTemplateName; - - @ApiModelProperty(value = "审批类型id") - private Long processTypeId; - private String processTypeName; - - @ApiModelProperty(value = "标题") - private String title; - - @ApiModelProperty(value = "描述") - private String description; - - @ApiModelProperty(value = "表单属性") - private String formProps; - - @ApiModelProperty(value = "表单选项") - private String formOptions; - - @ApiModelProperty(value = "表单属性值") - private String formValues; - - @ApiModelProperty(value = "流程实例id") - private String processInstanceId; - - @ApiModelProperty(value = "当前审批人") - private String currentAuditor; - - @ApiModelProperty(value = "状态(0:默认 1:审批中 2:审批通过 -1:驳回)") - private Integer status; - - private String taskId; - -} \ No newline at end of file diff --git a/model/src/main/java/cn/bunny/vo/system/AssginMenuVo.java b/model/src/main/java/cn/bunny/vo/system/AssginMenuVo.java deleted file mode 100644 index 8ef1faf..0000000 --- a/model/src/main/java/cn/bunny/vo/system/AssginMenuVo.java +++ /dev/null @@ -1,20 +0,0 @@ -package cn.bunny.vo.system; - - -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -import java.util.List; - -@ApiModel(description = "分配菜单") -@Data -public class AssginMenuVo { - - @ApiModelProperty(value = "角色id") - private Long roleId; - - @ApiModelProperty(value = "菜单id列表") - private List menuIdList; - -} diff --git a/model/src/main/java/cn/bunny/vo/system/AssginRoleVo.java b/model/src/main/java/cn/bunny/vo/system/AssginRoleVo.java deleted file mode 100644 index de9ca92..0000000 --- a/model/src/main/java/cn/bunny/vo/system/AssginRoleVo.java +++ /dev/null @@ -1,20 +0,0 @@ -package cn.bunny.vo.system; - - -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -import java.util.List; - -@ApiModel(description = "分配菜单") -@Data -public class AssginRoleVo { - - @ApiModelProperty(value = "用户id") - private Long userId; - - @ApiModelProperty(value = "角色id列表") - private List roleIdList; - -} diff --git a/model/src/main/java/cn/bunny/vo/system/LoginVo.java b/model/src/main/java/cn/bunny/vo/system/LoginVo.java index 6fda19b..1630ed7 100644 --- a/model/src/main/java/cn/bunny/vo/system/LoginVo.java +++ b/model/src/main/java/cn/bunny/vo/system/LoginVo.java @@ -1,11 +1,19 @@ package cn.bunny.vo.system; +import lombok.AllArgsConstructor; +import lombok.Builder; +import lombok.Data; +import lombok.NoArgsConstructor; + /** * 登录对象 */ +@Data +@Builder +@AllArgsConstructor +@NoArgsConstructor public class LoginVo { - /** * 手机号 */ @@ -15,20 +23,4 @@ public class LoginVo { * 密码 */ private String password; - - public String getUsername() { - return username; - } - - public void setUsername(String username) { - this.username = username; - } - - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } } diff --git a/model/src/main/java/cn/bunny/vo/system/SysLoginLogQueryVo.java b/model/src/main/java/cn/bunny/vo/system/SysLoginLogQueryVo.java deleted file mode 100644 index c48523b..0000000 --- a/model/src/main/java/cn/bunny/vo/system/SysLoginLogQueryVo.java +++ /dev/null @@ -1,16 +0,0 @@ -package cn.bunny.vo.system; - -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -@Data -public class SysLoginLogQueryVo { - - @ApiModelProperty(value = "用户账号") - private String username; - - private String createTimeBegin; - private String createTimeEnd; - -} - diff --git a/model/src/main/java/cn/bunny/vo/system/SysRoleQueryVo.java b/model/src/main/java/cn/bunny/vo/system/SysRoleQueryVo.java deleted file mode 100644 index b4362c5..0000000 --- a/model/src/main/java/cn/bunny/vo/system/SysRoleQueryVo.java +++ /dev/null @@ -1,29 +0,0 @@ -// -// -package cn.bunny.vo.system; - -import java.io.Serializable; - -/** - *

- * 角色查询实体 - *

- * - * @author qy - * @since 2019-11-08 - */ -public class SysRoleQueryVo implements Serializable { - - private static final long serialVersionUID = 1L; - - private String roleName; - - public String getRoleName() { - return roleName; - } - - public void setRoleName(String roleName) { - this.roleName = roleName; - } -} - diff --git a/model/src/main/java/cn/bunny/vo/system/SysUserQueryVo.java b/model/src/main/java/cn/bunny/vo/system/SysUserQueryVo.java deleted file mode 100644 index 4c7fe8d..0000000 --- a/model/src/main/java/cn/bunny/vo/system/SysUserQueryVo.java +++ /dev/null @@ -1,30 +0,0 @@ -// -// -package cn.bunny.vo.system; - - -import lombok.Data; - -import java.io.Serializable; - -/** - *

- * 用户查询实体 - *

- */ -@Data -public class SysUserQueryVo implements Serializable { - - private static final long serialVersionUID = 1L; - - private String keyword; - - private String createTimeBegin; - private String createTimeEnd; - - private Long roleId; - private Long postId; - private Long deptId; - -} - diff --git a/model/src/main/java/cn/bunny/vo/wechat/BindPhoneVo.java b/model/src/main/java/cn/bunny/vo/wechat/BindPhoneVo.java deleted file mode 100644 index a0aec37..0000000 --- a/model/src/main/java/cn/bunny/vo/wechat/BindPhoneVo.java +++ /dev/null @@ -1,14 +0,0 @@ -package cn.bunny.vo.wechat; - -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -@Data -public class BindPhoneVo { - - @ApiModelProperty(value = "手机") - private String phone; - - @ApiModelProperty(value = "openId") - private String openId; -} diff --git a/model/src/main/java/cn/bunny/vo/wechat/MenuVo.java b/model/src/main/java/cn/bunny/vo/wechat/MenuVo.java deleted file mode 100644 index 5d352a6..0000000 --- a/model/src/main/java/cn/bunny/vo/wechat/MenuVo.java +++ /dev/null @@ -1,39 +0,0 @@ -package cn.bunny.vo.wechat; - -import com.baomidou.mybatisplus.annotation.TableField; -import io.swagger.annotations.ApiModel; -import io.swagger.annotations.ApiModelProperty; -import lombok.Data; - -import java.util.List; - -@Data -@ApiModel(description = "菜单") -public class MenuVo { - - @ApiModelProperty(value = "id") - private Long id; - - @ApiModelProperty(value = "id") - private Long parentId; - - @ApiModelProperty(value = "名称") - private String name; - - @ApiModelProperty(value = "类型") - private String type; - - @ApiModelProperty(value = "url") - private String url; - - @ApiModelProperty(value = "菜单key") - private String meunKey; - - @ApiModelProperty(value = "排序") - private Integer sort; - - @ApiModelProperty(value = "下级") - @TableField(exist = false) - private List children; - -} \ No newline at end of file diff --git a/pom.xml b/pom.xml index 5e9318c..404e60c 100644 --- a/pom.xml +++ b/pom.xml @@ -27,7 +27,7 @@ 21 3.5.6 8.0.30 - 3.0.3 + 4.5.0 2.0.47 8.5.9 1.18.32 @@ -51,7 +51,7 @@ com.github.xiaoymin - knife4j-spring-boot-starter + knife4j-openapi3-jakarta-spring-boot-starter ${knife4j.version} @@ -72,7 +72,7 @@ lombok ${lombok.version}
- + cn.hutool hutool-all diff --git a/service/pom.xml b/service/pom.xml index a369612..7f0c238 100644 --- a/service/pom.xml +++ b/service/pom.xml @@ -26,7 +26,6 @@ service-utils 0.0.1-SNAPSHOT - junit diff --git a/service/src/main/java/cn/bunny/service/controller/IndexController.java b/service/src/main/java/cn/bunny/service/controller/IndexController.java index 44186d9..9e05e09 100644 --- a/service/src/main/java/cn/bunny/service/controller/IndexController.java +++ b/service/src/main/java/cn/bunny/service/controller/IndexController.java @@ -5,8 +5,8 @@ import cn.bunny.entity.system.Login; import cn.bunny.entity.system.SysUserinfo; import cn.bunny.service.service.SysUserService; import cn.bunny.vo.system.LoginVo; -import io.swagger.annotations.Api; import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.tags.Tag; import jakarta.servlet.http.HttpServletRequest; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.web.bind.annotation.*; @@ -18,7 +18,7 @@ import java.util.Map; * 后台登录登出 *

*/ -@Api(tags = "后台登录管理") +@Tag(name = "后台登录管理") @RestController @RequestMapping("/admin/system/index") public class IndexController { diff --git a/service/src/main/java/cn/bunny/service/service/impl/SysUserServiceImpl.java b/service/src/main/java/cn/bunny/service/service/impl/SysUserServiceImpl.java index ea3a6c7..e00c156 100644 --- a/service/src/main/java/cn/bunny/service/service/impl/SysUserServiceImpl.java +++ b/service/src/main/java/cn/bunny/service/service/impl/SysUserServiceImpl.java @@ -12,6 +12,8 @@ import cn.bunny.vo.system.LoginVo; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import jakarta.servlet.http.HttpServletRequest; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.data.redis.core.RedisTemplate; import org.springframework.stereotype.Service; import org.springframework.util.DigestUtils; @@ -25,6 +27,9 @@ import org.springframework.util.DigestUtils; */ @Service public class SysUserServiceImpl extends ServiceImpl implements SysUserService { + @Autowired + private RedisTemplate redisTemplate; + /** * 登录 * @@ -67,6 +72,7 @@ public class SysUserServiceImpl extends ServiceImpl impl */ @Override public SysUserinfo getUserinfo(HttpServletRequest request) { + redisTemplate.opsForValue().set("test", "测试"); return null; } } diff --git a/service/src/main/resources/application.yml b/service/src/main/resources/application.yml index cbacd78..94cdc91 100644 --- a/service/src/main/resources/application.yml +++ b/service/src/main/resources/application.yml @@ -30,6 +30,10 @@ spring: jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 + security: + user: + name: user + password: 1 mybatis-plus: mapper-locations: classpath:mapper/*.xml