Skip to content

Commit

Permalink
update to v3.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zlt2000 committed May 5, 2020
1 parent 2d8b66e commit 7632757
Show file tree
Hide file tree
Showing 58 changed files with 57 additions and 78 deletions.
6 changes: 1 addition & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,18 +111,14 @@ central-platform -- 父项目,公共依赖

## 5. 交流反馈
* 有问题先看看 [F&Q](https://www.kancloud.cn/zlt2000/microservices-platform/981382) 中有没有相关的回答

* 欢迎提交`ISSUS`,请写清楚问题的具体原因,重现步骤和环境(上下文)

* 项目/微服务交流请进群:
* 一群:[250883130(已满)](https://shang.qq.com/wpa/qunwpa?idkey=17544199255998bda0d938fb72b08d076c40c52c9904520b76eb5eb0585da71e)
* 二群:[1041797659](https://shang.qq.com/wpa/qunwpa?idkey=41988facbc02f678942a7ee7ae03122f2ef0a10c948b3d07319f070bfb0d3a98)

* 个人博客:[https://zlt2000.gitee.io](https://zlt2000.gitee.io)

* 个人邮箱:[email protected]

* 个人公众号:[陶陶技术笔记](http://qiniu.zlt2000.cn/blog/20190902/M56cWjw7uNsc.png?imageslim)
* GitChat:[https://gitbook.cn/gitchat/author/5b2362320398d50d7b7ab29e](https://gitbook.cn/gitchat/author/5b2362320398d50d7b7ab29e)

 
## 6. 截图(点击可大图预览)
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.zlt</groupId>
<artifactId>central-platform</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
<packaging>pom</packaging>

<properties>
Expand Down
2 changes: 1 addition & 1 deletion zlt-business/code-generator/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-business</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>code-generator</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion zlt-business/file-center/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-business</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>file-center</artifactId>
<description>文件中心</description>
Expand Down
2 changes: 1 addition & 1 deletion zlt-business/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>central-platform</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>zlt-business</artifactId>
<description>业务中心</description>
Expand Down
2 changes: 1 addition & 1 deletion zlt-business/search-center/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-business</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>search-center</artifactId>
<description>搜索中心</description>
Expand Down
2 changes: 1 addition & 1 deletion zlt-business/search-center/search-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>search-center</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>search-client</artifactId>
<description>搜索中心客户端</description>
Expand Down
2 changes: 1 addition & 1 deletion zlt-business/search-center/search-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>search-center</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>search-server</artifactId>
<description>搜索中心服务端</description>
Expand Down
2 changes: 1 addition & 1 deletion zlt-business/user-center/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-business</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>user-center</artifactId>
<description>用户中心</description>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
package com.central.user.service;

import com.central.common.lock.DistributedLock;
import com.central.common.model.LoginAppUser;
import static org.assertj.core.api.Assertions.*;

import com.central.common.model.PageResult;
import com.central.common.model.SysUser;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.redisson.api.RLock;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;

import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.TimeUnit;

/**
* SysUserServiceTest单元测试用例
Expand All @@ -28,20 +25,6 @@ public class SysUserServiceTest {
@Autowired
private ISysUserService sysUserService;

@Autowired
private DistributedLock locker;

@Test
public void testLock() throws Exception {
Object lock = null;
try {
lock = locker.tryLock("test", 1000, TimeUnit.MILLISECONDS, true);
Thread.sleep(5000);
} finally {
locker.unlock(lock);
}
}

@Test
public void testFindByUsername() {
LoginAppUser loginAppUser = sysUserService.findByUsername("admin");
Expand Down
2 changes: 1 addition & 1 deletion zlt-commons/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>central-platform</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>zlt-commons</artifactId>
<description>通用组件</description>
Expand Down
2 changes: 1 addition & 1 deletion zlt-commons/zlt-auth-client-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-commons</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion zlt-commons/zlt-common-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-commons</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>zlt-common-core</artifactId>
<description>公共通用组件</description>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public interface CommonConstant {
/**
* 项目版本号(banner使用)
*/
String PROJECT_VERSION = "3.5.0";
String PROJECT_VERSION = "3.6.0";

/**
* token请求头名称
Expand Down
2 changes: 1 addition & 1 deletion zlt-commons/zlt-common-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-commons</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>zlt-common-spring-boot-starter</artifactId>
<description>公共通用组件</description>
Expand Down
2 changes: 1 addition & 1 deletion zlt-commons/zlt-db-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-commons</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion zlt-commons/zlt-elasticsearch-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-commons</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion zlt-commons/zlt-log-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-commons</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion zlt-commons/zlt-redis-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-commons</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion zlt-commons/zlt-ribbon-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-commons</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion zlt-commons/zlt-sentinel-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-commons</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion zlt-commons/zlt-swagger2-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-commons</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion zlt-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>central-platform</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>central-platform</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>zlt-demo</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/rocketmq-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-demo</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>rocketmq-demo</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/rocketmq-demo/rocketmq-consume/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>rocketmq-demo</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>rocketmq-consume</artifactId>
<description>rocketMQ消费者demo</description>
Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/rocketmq-demo/rocketmq-produce/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>rocketmq-demo</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>rocketmq-produce</artifactId>
<description>rocketMQ生产者demo</description>
Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/rocketmq-demo/rocketmq-transactional/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>rocketmq-demo</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>rocketmq-transactional</artifactId>
<description>rocketMQ事务消息demo</description>
Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/seata-demo/account-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>seata-demo</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>account-service</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/seata-demo/business-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>seata-demo</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>business-service</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/seata-demo/order-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>seata-demo</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>order-service</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/seata-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-demo</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>seata-demo</artifactId>
<description>seata分布式事务demo</description>
Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/seata-demo/seata-common-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>seata-demo</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>seata-common-starter</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/seata-demo/storage-service/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>seata-demo</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>storage-service</artifactId>

Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/sharding-jdbc-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-demo</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>sharding-jdbc-demo</artifactId>
<description>sharding-jdbc分库分表demo</description>
Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/sso-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-demo</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>sso-demo</artifactId>
<packaging>pom</packaging>
Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/sso-demo/ss-sso/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>sso-demo</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>ss-sso</artifactId>
<description>springSecurity单点登录demo</description>
Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/sso-demo/web-sso/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>sso-demo</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>web-sso</artifactId>
<description>前后端分离单点登录demo</description>
Expand Down
2 changes: 1 addition & 1 deletion zlt-demo/txlcn-demo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<parent>
<groupId>com.zlt</groupId>
<artifactId>zlt-demo</artifactId>
<version>3.5.0</version>
<version>3.6.0</version>
</parent>
<artifactId>txlcn-demo</artifactId>
<description>txlcn分布式事务demo</description>
Expand Down
Loading

0 comments on commit 7632757

Please sign in to comment.