feat:修复已知问题,提升系统稳定性

This commit is contained in:
dianjiu
2024-08-30 02:04:33 +08:00
parent e98052a69a
commit e821ba4858
568 changed files with 124666 additions and 13 deletions

View File

@@ -0,0 +1,81 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>remi-demo-domain</artifactId>
<name>remi-demo-domain</name>
<description>remi-demo-domain</description>
<parent>
<groupId>ai.remi.cloud</groupId>
<artifactId>remi-demo</artifactId>
<version>3.1.0</version>
</parent>
<!-- 打包上传到私服, 需要和配置文件中的server节点配合使用 -->
<distributionManagement>
<repository>
<id>maven-releases</id>
<name>release</name>
<url>https://repository.njydsz.com/repository/maven-releases/</url>
</repository>
<snapshotRepository>
<id>maven-snapshots</id>
<name>snapshot</name>
<url>https://repository.njydsz.com/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<dependencies>
<!--remi-comm-domain-->
<dependency>
<groupId>ai.remi.comm</groupId>
<artifactId>remi-comm-domain</artifactId>
</dependency>
<!--remi-comm-swagger-->
<dependency>
<groupId>ai.remi.comm</groupId>
<artifactId>remi-comm-swagger</artifactId>
</dependency>
<!-- Lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<!-- Maven 编译插件,提供给 MapStruct 使用 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.10.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<annotationProcessorPaths>
<!-- MapStruct 注解处理器 -->
<path>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${mapstruct.version}</version>
</path>
<!-- Lombok 注解处理器 -->
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
<!-- MapStruct 和 Lombok 注解绑定处理器 -->
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok-mapstruct-binding</artifactId>
<version>${lombok-mapstruct.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@@ -0,0 +1,31 @@
package ai.remi.boot.domain.constant;
/**
* 单点登录基础常量
*/
public class SsoConstant {
/**
* 服务端登录路径
*/
public static final String LOGIN_PATH = "/sso/login";
/**
* 服务端退出路径
*/
public static final String LOGOUT_PATH = "/sso/logout";
/**
* 认证路径
*/
public static final String AUTH_PATH = "/sso/oauth2";
/**
* 服务端回调客户端地址参数名称
*/
public static final String REDIRECT_URL = "redirectUrl";
/**
* 服务端单点退出回调客户端退出参数名称
*/
public static final String LOGOUT_PARAMETER_NAME = "logoutRequest";
}