-
Notifications
You must be signed in to change notification settings - Fork 836
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
【V3.5.0】1、【新增】轻量级定时任务 SmartJob;2、【新增】站内信;3、【新增】个人中心;4、【新增】岗位管理;5、【优化】…
…部门员工管理
- Loading branch information
zhuoda
committed
Jul 16, 2024
1 parent
ba115a0
commit 50f5324
Showing
8 changed files
with
116 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
HELP.md | ||
target/ | ||
!.mvn/wrapper/maven-wrapper.jar | ||
!**/src/main/** | ||
!**/src/test/** | ||
|
||
### STS ### | ||
.classpath | ||
.factorypath | ||
.project | ||
.settings | ||
.springBeans | ||
.sts4-cache | ||
|
||
### IntelliJ IDEA ### | ||
.idea | ||
*.iws | ||
*.iml | ||
*.ipr | ||
|
||
### front ### | ||
**/dist | ||
**/node_modules | ||
**/.vscode | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
...ava/net/lab1024/sa/base/module/support/redis/RedissonPasswordConfigurationCustomizer.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
package net.lab1024.sa.base.module.support.redis; | ||
|
||
import net.lab1024.sa.base.common.util.SmartStringUtil; | ||
import org.redisson.config.Config; | ||
import org.redisson.spring.starter.RedissonAutoConfigurationCustomizer; | ||
import org.springframework.stereotype.Component; | ||
|
||
/** | ||
* | ||
* redission对于password 为空处理有问题,重新设置下 | ||
* | ||
* @Author 1024创新实验室-主任:卓大 | ||
* @Date 2024/7/16 01:04:18 | ||
* @Wechat zhuoda1024 | ||
* @Email [email protected] | ||
* @Copyright <a href="https://1024lab.net">1024创新实验室</a> ,Since 2012 | ||
*/ | ||
|
||
@Component | ||
public class RedissonPasswordConfigurationCustomizer implements RedissonAutoConfigurationCustomizer { | ||
@Override | ||
public void customize(Config configuration) { | ||
if (configuration.isSingleConfig() && SmartStringUtil.isEmpty(configuration.useSingleServer().getPassword())) { | ||
configuration.useSingleServer().setPassword(null); | ||
} | ||
|
||
if (configuration.isClusterConfig() && SmartStringUtil.isEmpty(configuration.useClusterServers().getPassword())) { | ||
configuration.useClusterServers().setPassword(null); | ||
} | ||
if (configuration.isSentinelConfig() && SmartStringUtil.isEmpty(configuration.useSentinelServers().getPassword())) { | ||
configuration.useSentinelServers().setPassword(null); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters