feat: extend operation log service and repository with pagination support
This commit is contained in:
+2
-6
@@ -3,16 +3,12 @@ package cn.novalon.manage.app;
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
import org.springframework.boot.context.properties.ConfigurationPropertiesScan;
|
||||
import org.springframework.context.annotation.ComponentScan;
|
||||
import org.springframework.data.r2dbc.repository.config.EnableR2dbcRepositories;
|
||||
|
||||
/**
|
||||
* 管理系统应用启动类
|
||||
*
|
||||
* @author 张翔
|
||||
* @date 2026-03-14
|
||||
*/
|
||||
@SpringBootApplication
|
||||
@ConfigurationPropertiesScan(basePackages = "cn.novalon.manage")
|
||||
@ComponentScan(basePackages = "cn.novalon.manage")
|
||||
@EnableR2dbcRepositories(basePackages = {"cn.novalon.manage.db.dao"})
|
||||
public class ManageApplication {
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package cn.novalon.manage.sys.config;
|
||||
package cn.novalon.manage.app.config;
|
||||
|
||||
import org.springframework.context.annotation.Bean;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package cn.novalon.manage.sys.config;
|
||||
package cn.novalon.manage.app.config;
|
||||
|
||||
import io.swagger.v3.oas.models.OpenAPI;
|
||||
import io.swagger.v3.oas.models.info.Contact;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package cn.novalon.manage.sys.config;
|
||||
package cn.novalon.manage.app.config;
|
||||
|
||||
import cn.novalon.manage.sys.handler.auth.SysAuthHandler;
|
||||
import cn.novalon.manage.sys.handler.config.SysConfigHandler;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package cn.novalon.manage.sys.config;
|
||||
package cn.novalon.manage.app.config;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.http.codec.ServerCodecConfigurer;
|
||||
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
cn.novalon.manage.app.config.OpenApiConfig
|
||||
cn.novalon.manage.app.config.WebFluxConfig
|
||||
cn.novalon.manage.app.config.SystemRouter
|
||||
cn.novalon.manage.app.config.MultipartConfig
|
||||
cn.novalon.manage.app.config.RateLimitConfig
|
||||
@@ -1,6 +1,6 @@
|
||||
spring:
|
||||
r2dbc:
|
||||
url: r2dbc:postgresql://localhost:5432/novalon_manage
|
||||
url: r2dbc:postgresql://localhost:55432/manage_system
|
||||
username: postgres
|
||||
password: postgres
|
||||
flyway:
|
||||
|
||||
Reference in New Issue
Block a user