补充readme信息
This commit is contained in:
@@ -24,7 +24,6 @@
|
||||
* **[文档更新日志](https://www.kancloud.cn/zlt2000/microservices-platform/936236)**
|
||||
* Gitee地址:https://gitee.com/zlt2000/microservices-platform
|
||||
* Github地址:https://github.com/zlt2000/microservices-platform
|
||||
|
||||
* 前后端分离的企业级微服务架构
|
||||
* 基于`Spring Boot 2.0.X`、`Spring Cloud Finchley`和`Spring Cloud Alibaba`
|
||||
* 深度定制`Spring Security`真正实现了基于`RBAC`、`jwt`和`oauth2`的无状态统一权限认证的解决方案
|
||||
@@ -33,6 +32,8 @@
|
||||
* 注重代码规范,严格控制包依赖,每个工程基本都是最小依赖
|
||||
* 非常适合学习和企业中使用
|
||||
|
||||
> 重构于开源项目OCP&cp:https://gitee.com/owenwangwen/open-capacity-platform
|
||||
|
||||
|
||||
|
||||
## 2. 项目总体架构图
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
package com.sharding;
|
||||
|
||||
import com.central.common.utils.IdGenerator;
|
||||
|
||||
/**
|
||||
* sharding-jdbc demo
|
||||
*
|
||||
* @author zlt
|
||||
*/
|
||||
public class TestApplication {
|
||||
public static void main(String[] args) {
|
||||
for (int i = 0; i < 100; i++) {
|
||||
long userId = IdGenerator.getId();
|
||||
System.out.println(userId);
|
||||
userId = userId & 15;
|
||||
System.out.println(userId);
|
||||
}
|
||||
/*
|
||||
long orderId = IdGenerator.getId();
|
||||
System.out.println(orderId);
|
||||
orderId = (orderId << 4) | userId;
|
||||
System.out.println(orderId);*/
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user