提交 a966265c 编写于 作者: X xiongchun

将范例程序升级到 5.3.0 依赖

上级 f66f7f97
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-cache-layering</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-cache-single</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......
......@@ -23,14 +23,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-config-local</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......
......@@ -23,14 +23,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-config-remote-nacos</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-crud</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
......@@ -54,7 +54,7 @@
<plugin>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-generator-maven-plugin</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<configuration>
<url>jdbc:mysql://127.0.0.1:3306/pangu-examples</url>
<user>root</user>
......
......@@ -7,7 +7,7 @@
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-dubbo-api</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-dubbo-consumer</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......@@ -28,7 +28,7 @@
<dependency>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-dubbo-api</artifactId>
<version>1.0.0</version>
<version>5.3.0</version>
</dependency>
</dependencies>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-dubbo-gateway-shenyu-service</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......@@ -32,7 +32,7 @@
<dependency>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-dubbo-api</artifactId>
<version>1.0.0</version>
<version>5.3.0</version>
</dependency>
</dependencies>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-dubbo-service</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......@@ -28,7 +28,7 @@
<dependency>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-dubbo-api</artifactId>
<version>1.0.0</version>
<version>5.3.0</version>
</dependency>
</dependencies>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-empty-springboot-based</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-empty-web</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-empty</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-lock-redis-based</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......
......@@ -23,14 +23,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-log-dynamic</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......
......@@ -23,14 +23,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-mq-rabbitmq-receiver</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......
......@@ -23,14 +23,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-mq-rabbitmq-sender</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-seata-at-account</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
......@@ -41,7 +41,7 @@
<dependency>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-seata-at-api</artifactId>
<version>1.0.0</version>
<version>5.3.0</version>
</dependency>
</dependencies>
......@@ -63,7 +63,7 @@
<plugin>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-generator-maven-plugin</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<configuration>
<url>jdbc:mysql://127.0.0.1:3306/pangu-examples</url>
<user>root</user>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-seata-at-api</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......@@ -39,7 +39,7 @@
<plugin>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-generator-maven-plugin</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<configuration>
<url>jdbc:mysql://127.0.0.1:3306/pangu-examples</url>
<user>root</user>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-seata-at-main</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
......@@ -41,7 +41,7 @@
<dependency>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-seata-at-api</artifactId>
<version>1.0.0</version>
<version>5.3.0</version>
</dependency>
</dependencies>
......@@ -63,7 +63,7 @@
<plugin>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-generator-maven-plugin</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<configuration>
<url>jdbc:mysql://127.0.0.1:3306/pangu-examples</url>
<user>root</user>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-seata-at-order</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
......@@ -41,7 +41,7 @@
<dependency>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-seata-at-api</artifactId>
<version>1.0.0</version>
<version>5.3.0</version>
</dependency>
</dependencies>
......@@ -63,7 +63,7 @@
<plugin>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-generator-maven-plugin</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<configuration>
<url>jdbc:mysql://127.0.0.1:3306/pangu-examples</url>
<user>root</user>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-seata-at-stock</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
......@@ -41,7 +41,7 @@
<dependency>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-seata-at-api</artifactId>
<version>1.0.0</version>
<version>5.3.0</version>
</dependency>
</dependencies>
......@@ -63,7 +63,7 @@
<plugin>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-generator-maven-plugin</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<configuration>
<url>jdbc:mysql://127.0.0.1:3306/pangu-examples</url>
<user>root</user>
......
......@@ -7,7 +7,7 @@
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-seata-at</artifactId>
<packaging>pom</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<name>pangu-examples-seata-at</name>
<modules>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-shardingsphere-readwrite-splitting</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
......@@ -28,7 +28,7 @@
</dependency>
<dependency>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-shardingsphere-spring-boot-starter</artifactId>
<artifactId>pangu-data-governance-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-shardingsphere-sharding</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
......@@ -28,7 +28,7 @@
</dependency>
<dependency>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-shardingsphere-spring-boot-starter</artifactId>
<artifactId>pangu-data-governance-spring-boot-starter</artifactId>
</dependency>
<dependency>
<groupId>mysql</groupId>
......@@ -54,7 +54,7 @@
<plugin>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-generator-maven-plugin</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<configuration>
<url>jdbc:mysql://127.0.0.1:3306/pangu-examples-1</url>
<user>root</user>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-webapi-dubbo-service-based</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......
package com.gitee.pulanos.pangu.showcases.webapi.dubbo.controller;
import com.gitee.pulanos.pangu.framework.common.model.Result;
import com.gitee.pulanos.pangu.framework.common.entity.Result;
import com.gitee.pulanos.pangu.showcases.dubbo.api.dto.UserInDto;
import com.gitee.pulanos.pangu.showcases.dubbo.api.dto.UserOutDto;
import com.gitee.pulanos.pangu.showcases.dubbo.api.service.UserService;
import com.gitee.pulanos.pangu.showcases.webapi.dubbo.service.DemoService;
import com.google.common.collect.Maps;
import lombok.extern.slf4j.Slf4j;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.beans.factory.annotation.Autowired;
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-webapi-gateway-shenyu-based</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......
......@@ -7,14 +7,14 @@
<parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-parent</artifactId>
<version>5.2.0</version>
<version>5.3.0</version>
<relativePath/>
</parent>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples-webapi-local-service-based</artifactId>
<packaging>jar</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<dependencies>
<dependency>
......@@ -53,7 +53,7 @@
<plugin>
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-generator-maven-plugin</artifactId>
<version>5.0.7</version>
<version>5.3.0</version>
<configuration>
<url>jdbc:mysql://127.0.0.1:3306/pangu-examples</url>
<user>root</user>
......@@ -62,9 +62,9 @@
<author>普蓝开源社区</author>
<!-- 可以使用绝对路径 -->
<entityFilePath>${project.basedir}/src/main/java/com/gitee/pulanos/pangu/showcases/webapi/local/dao/entity</entityFilePath>
<entityPackageName>com.gitee.pulanos.pangu.showcases.webapi.local.dao.entity</entityPackageName>
<entityFilePath>com.gitee.pulanos.pangu.showcases.webapi.local.dao.entity</entityFilePath>
<mapperFilePath>${project.basedir}/src/main/java/com/gitee/pulanos/pangu/showcases/webapi/local/dao/mapper</mapperFilePath>
<mapperPackageName>com.gitee.pulanos.pangu.showcases.webapi.local.dao.mapper</mapperPackageName>
<mapperFilePath>com.gitee.pulanos.pangu.showcases.webapi.local.dao.mapper</mapperFilePath>
</configuration>
</plugin>
</plugins>
......
......@@ -17,15 +17,11 @@
package com.gitee.pulanos.pangu.showcases.webapi.local.controller;
import com.gitee.pulanos.pangu.framework.common.model.Result;
import com.gitee.pulanos.pangu.framework.common.utils.BeanValidator;
import com.gitee.pulanos.pangu.framework.common.entity.Result;
import com.gitee.pulanos.pangu.showcases.webapi.local.dao.entity.UserEntity;
import com.gitee.pulanos.pangu.showcases.webapi.local.param.CaseIn;
import com.gitee.pulanos.pangu.showcases.webapi.local.service.DemoService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
......
......@@ -7,7 +7,7 @@
<groupId>com.gitee.pulanos.pangu</groupId>
<artifactId>pangu-examples</artifactId>
<packaging>pom</packaging>
<version>1.0.0</version>
<version>5.3.0</version>
<name>pangu-examples</name>
<modules>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册