根据阿里开发规范稍微修改了下代码格式

pull/383/head
Nick 2020-03-27 14:27:34 +08:00
parent 838198309d
commit 8b41455bd3
5 changed files with 7 additions and 4 deletions

View File

@ -24,6 +24,8 @@ import org.springframework.data.redis.core.RedisOperations;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.serializer.RedisSerializationContext;
import org.springframework.data.redis.serializer.RedisSerializer;
import java.lang.reflect.Method;
import java.nio.charset.Charset;
import java.nio.charset.StandardCharsets;
import java.time.Duration;

View File

@ -48,7 +48,7 @@ public class DeployServiceImpl implements DeployService {
private final DeployHistoryService deployHistoryService;
// 循环次数
/** 循环次数*/
private final Integer count = 30;
public DeployServiceImpl(DeployRepository deployRepository, DeployMapper deployMapper, ServerDeployService serverDeployService, DeployHistoryService deployHistoryService) {

View File

@ -6,6 +6,7 @@ import cn.hutool.crypto.asymmetric.RSA;
import com.wf.captcha.ArithmeticCaptcha;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import me.zhengjie.annotation.AnonymousAccess;
import me.zhengjie.aop.log.Log;

View File

@ -6,7 +6,7 @@ spring:
driverClassName: net.sf.log4jdbc.sql.jdbcapi.DriverSpy
url: jdbc:log4jdbc:mysql://localhost:3306/eladmin?serverTimezone=Asia/Shanghai&characterEncoding=utf8&useSSL=false
username: root
password: 123456
password: root
# 初始化配置
initial-size: 3

View File

@ -1,2 +1,2 @@
# 用户加密方式变动,改为 BCryptPasswordEncoder方式 SHA-256 +随机盐+密钥对密码进行加密,替换后的明文密码为 123456
update user set `password` = "$2a$10$HhxyGZy.ulf3RvAwaHUGb.k.2i9PBpv4YbLMJWp8pES7pPhTyRCF." WHERE `password` = "e10adc3949ba59abbe56e057f20f883e"
-- BCryptPasswordEncoder SHA-256 ++ 123456
update `user` set `password` = "$2a$10$HhxyGZy.ulf3RvAwaHUGb.k.2i9PBpv4YbLMJWp8pES7pPhTyRCF." WHERE `password` = "e10adc3949ba59abbe56e057f20f883e"