mirror of
https://github.com/BgaSol/sol-cloud
synced 2026-05-06 08:08:30 +00:00
- Move the postgresql dependency from common-base-model to common-base-web - Rename GlobalExceptionHandler to PostgreSqlExceptionHandler and relocate it to the web module - Replace @ControllerAdvice with @RestControllerAdvice - Add @ApiResponse annotations to enrich API documentation - Refactor error-parsing logic into the Template Method pattern to improve reusability - Optimize parsing and user-friendly messages for all kinds of PostgreSQL exceptions - Unify the exception-response format to enhance user experience
35 lines
No EOL
1.2 KiB
XML
35 lines
No EOL
1.2 KiB
XML
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<groupId>com.bgasol</groupId>
|
|
<artifactId>common</artifactId>
|
|
<version>0.0.1</version>
|
|
</parent>
|
|
|
|
<artifactId>common-base-model</artifactId>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>com.baomidou</groupId>
|
|
<artifactId>mybatis-plus-core</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.springdoc</groupId>
|
|
<artifactId>springdoc-openapi-starter-common</artifactId>
|
|
<version>${openapi.version}</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>com.bgasol</groupId>
|
|
<artifactId>plugin-swagger</artifactId>
|
|
<version>0.0.1</version>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>jakarta.persistence</groupId>
|
|
<artifactId>jakarta.persistence-api</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
</project> |