获取服务信息1

This commit is contained in:
xuelijun
2025-08-27 10:13:36 +08:00
parent ecb8f31850
commit a6b1cb2ac9
3 changed files with 81 additions and 79 deletions

View File

@@ -1,85 +1,90 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 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"> 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> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>com.tashow.cloud</groupId> <groupId>com.tashow.cloud</groupId>
<artifactId>tashow-feign</artifactId> <artifactId>tashow-feign</artifactId>
<version>${revision}</version> <version>${revision}</version>
</parent> </parent>
<artifactId>tashow-product-api</artifactId> <artifactId>tashow-product-api</artifactId>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>${project.artifactId}</name> <name>${project.artifactId}</name>
<description> <description>
infra 模块 API暴露给其它模块调用 infra 模块 API暴露给其它模块调用
</description> </description>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.tashow.cloud</groupId> <groupId>com.tashow.cloud</groupId>
<artifactId>tashow-common</artifactId> <artifactId>tashow-common</artifactId>
</dependency> </dependency>
<!-- 参数校验 --> <!-- 参数校验 -->
<dependency> <dependency>
<groupId>org.springframework.boot</groupId> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-validation</artifactId> <artifactId>spring-boot-starter-validation</artifactId>
<optional>true</optional> <optional>true</optional>
</dependency> </dependency>
<!-- RPC 远程调用相关 --> <dependency>
<dependency> <groupId>jakarta.validation</groupId>
<groupId>org.springframework.cloud</groupId> <artifactId>jakarta.validation-api</artifactId>
<artifactId>spring-cloud-starter-openfeign</artifactId> </dependency>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.5.13</version> <!-- 推荐使用最新稳定版本 -->
</dependency>
<!-- 防止进入swagger页面报类型转换错误排除3.0.0中的引用手动增加1.6.2版本 -->
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-models</artifactId>
<version>1.6.2</version>
</dependency>
<!-- Swagger Core -->
<dependency>
<groupId>io.swagger.core.v3</groupId>
<artifactId>swagger-core</artifactId>
<version>2.2.20</version>
</dependency>
<!-- Swagger Models --> <!-- RPC 远程调用相关 -->
<dependency> <dependency>
<groupId>io.swagger.core.v3</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>swagger-models</artifactId> <artifactId>spring-cloud-starter-openfeign</artifactId>
<version>2.2.20</version> <optional>true</optional>
</dependency> </dependency>
<!-- EasyExcel 核心库 --> <dependency>
<dependency> <groupId>org.mybatis</groupId>
<groupId>com.alibaba</groupId> <artifactId>mybatis</artifactId>
<artifactId>easyexcel</artifactId> <version>3.5.13</version> <!-- 推荐使用最新稳定版本 -->
<version>4.0.3</version> </dependency>
</dependency> <!-- 防止进入swagger页面报类型转换错误排除3.0.0中的引用手动增加1.6.2版本 -->
<dependency> <dependency>
<groupId>org.mybatis</groupId> <groupId>io.swagger</groupId>
<artifactId>mybatis</artifactId> <artifactId>swagger-models</artifactId>
<version>3.5.9</version> <version>1.6.2</version>
</dependency> </dependency>
<dependency> <!-- Swagger Core -->
<groupId>com.baomidou</groupId> <dependency>
<artifactId>mybatis-plus-annotation</artifactId> <groupId>io.swagger.core.v3</groupId>
<version>3.5.9</version> <artifactId>swagger-core</artifactId>
<scope>compile</scope> <version>2.2.20</version>
</dependency> </dependency>
<dependency>
<groupId>com.tashow.cloud</groupId> <!-- Swagger Models -->
<artifactId>tashow-data-mybatis</artifactId> <dependency>
</dependency> <groupId>io.swagger.core.v3</groupId>
</dependencies> <artifactId>swagger-models</artifactId>
<version>2.2.20</version>
</dependency>
<!-- EasyExcel 核心库 -->
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>easyexcel</artifactId>
<version>4.0.3</version>
</dependency>
<dependency>
<groupId>org.mybatis</groupId>
<artifactId>mybatis</artifactId>
<version>3.5.9</version>
</dependency>
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-annotation</artifactId>
<version>3.5.9</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.tashow.cloud</groupId>
<artifactId>tashow-data-mybatis</artifactId>
</dependency>
</dependencies>
</project> </project>

View File

@@ -1,8 +1,6 @@
package com.tashow.cloud.productapi.api.product.vo; package com.tashow.cloud.productapi.api.product.vo;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data; import lombok.Data;
import java.util.List; import java.util.List;

View File

@@ -3,7 +3,6 @@ package com.tashow.cloud.productapi.api.product.vo.prod;
import com.tashow.cloud.productapi.api.product.dto.SkuDO; import com.tashow.cloud.productapi.api.product.dto.SkuDO;
import com.tashow.cloud.productapi.api.product.vo.prodprop.ProdPropSaveReqVO; import com.tashow.cloud.productapi.api.product.vo.prodprop.ProdPropSaveReqVO;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data; import lombok.Data;
import java.util.List; import java.util.List;