🎨 Improving structure / format of the code.
This commit is contained in:
1 parent
040efc37f9
commit
fc8e93a23a
4 files changed
+8
-10
No files matched your search
-1
@@ -72,7 +72,6 @@ public class PigxUser extends User {
|
||||
super(username, password, enabled, accountNonExpired, credentialsNonExpired, accountNonLocked, authorities);
|
||||
this.id = id;
|
||||
this.deptId = deptId;
|
||||
this.deptId = deptId;
|
||||
this.tenantId = tenantId;
|
||||
}
|
||||
}
|
||||
@@ -36,7 +36,6 @@ import java.io.Serializable;
|
||||
* commit('SET_PERMISSIONS', data)
|
||||
*/
|
||||
@Data
|
||||
@ToString
|
||||
public class UserInfo implements Serializable {
|
||||
/**
|
||||
* 用户基本信息
|
||||
|
||||
+6
-6
@@ -29,15 +29,15 @@ public class ConfigReader {
|
||||
/**
|
||||
* 事务默认数据的位置,有最大时间
|
||||
*/
|
||||
private final String key_prefix = "tx:manager:default:";
|
||||
private static final String KEY_PREFIX = "tx:manager:default:";
|
||||
/**
|
||||
* 负载均衡模块存储信息
|
||||
*/
|
||||
private final String key_prefix_loadbalance = "tx:manager:loadbalance:";
|
||||
private static final String KEY_PREFIX_LOADBALANCE = "tx:manager:loadbalance:";
|
||||
/**
|
||||
* 补偿事务永久存储数据
|
||||
*/
|
||||
private final String key_prefix_compensate = "tx:manager:compensate:";
|
||||
private static final String TX_MANAGER_COMPENSATE = "tx:manager:compensate:";
|
||||
@Value("${tm.socket.port}")
|
||||
private int socketPort;
|
||||
@Value("${tm.socket.maxconnection}")
|
||||
@@ -58,7 +58,7 @@ public class ConfigReader {
|
||||
private int compensateMaxWaitTime;
|
||||
|
||||
public String getKeyPrefixLoadbalance() {
|
||||
return key_prefix_loadbalance;
|
||||
return KEY_PREFIX_LOADBALANCE;
|
||||
}
|
||||
|
||||
public String getCompensateNotifyUrl() {
|
||||
@@ -66,11 +66,11 @@ public class ConfigReader {
|
||||
}
|
||||
|
||||
public String getKeyPrefix() {
|
||||
return key_prefix;
|
||||
return KEY_PREFIX;
|
||||
}
|
||||
|
||||
public String getKeyPrefixCompensate() {
|
||||
return key_prefix_compensate;
|
||||
return TX_MANAGER_COMPENSATE;
|
||||
}
|
||||
|
||||
public int getSocketPort() {
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<name>${project.artifactId}</name>
|
||||
<packaging>pom</packaging>
|
||||
<organization>
|
||||
<name>Pig4Cloud</name>
|
||||
<name>pig4cloud</name>
|
||||
<url>https://www.pig4cloud.com</url>
|
||||
</organization>
|
||||
<developers>
|
||||
@@ -49,7 +49,7 @@
|
||||
<maven.compiler.source>1.8</maven.compiler.source>
|
||||
<maven.compiler.target>1.8</maven.compiler.target>
|
||||
<spring-boot-admin.version>2.0.4</spring-boot-admin.version>
|
||||
<hutool.version>4.2.1</hutool.version>
|
||||
<hutool.version>4.3.0</hutool.version>
|
||||
<mybatis-plus.version>3.0.6</mybatis-plus.version>
|
||||
<kaptcha.version>0.0.9</kaptcha.version>
|
||||
<swagger.version>2.9.2</swagger.version>
|
||||
|
||||
Reference in new issue
Block a user