用户加密漏洞
This commit is contained in:
parent
513ac105c8
commit
9d2d1bb152
5
pom.xml
5
pom.xml
|
|
@ -181,6 +181,11 @@
|
||||||
<version>${sgzb.version}</version>
|
<version>${sgzb.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.alibaba.cloud</groupId>
|
||||||
|
<artifactId>spring-cloud-starter-alibaba-nacos-config</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<!-- 日志记录 -->
|
<!-- 日志记录 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.bonus.sgzb</groupId>
|
<groupId>com.bonus.sgzb</groupId>
|
||||||
|
|
|
||||||
|
|
@ -14,17 +14,19 @@ spring:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
shared-configs:
|
shared-configs:
|
||||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
username: nacos
|
||||||
|
password: N2$NjW2&CDEOx$mD*y5h
|
||||||
|
|
||||||
onlineApprove: /lbcloud-oauth/oauth/token
|
onlineApprove: /lbcloud-oauth/oauth/token
|
||||||
wechatAppId: crhmaxnE
|
wechatAppId: crhmaxnE
|
||||||
|
|
|
||||||
|
|
@ -27,17 +27,19 @@ spring:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
shared-configs:
|
shared-configs:
|
||||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
username: nacos
|
||||||
|
password: N2$NjW2&CDEOx$mD*y5h
|
||||||
sentinel:
|
sentinel:
|
||||||
# 取消控制台懒加载
|
# 取消控制台懒加载
|
||||||
eager: true
|
eager: true
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||||||
*
|
*
|
||||||
* @author ruoyi
|
* @author ruoyi
|
||||||
*/
|
*/
|
||||||
@EnableCustomSwagger2
|
//@EnableCustomSwagger2
|
||||||
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
|
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
|
||||||
@EnableCustomConfig
|
@EnableCustomConfig
|
||||||
@EnableRyFeignClients
|
@EnableRyFeignClients
|
||||||
|
|
|
||||||
|
|
@ -21,17 +21,19 @@ spring:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
shared-configs:
|
shared-configs:
|
||||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
username: nacos
|
||||||
|
password: N2$NjW2&CDEOx$mD*y5h
|
||||||
|
|
||||||
# 禁用Actuator端点的未经身份验证的访问
|
# 禁用Actuator端点的未经身份验证的访问
|
||||||
management:
|
management:
|
||||||
|
|
|
||||||
|
|
@ -36,14 +36,16 @@ spring:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
shared-configs:
|
shared-configs:
|
||||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
username: nacos
|
||||||
|
password: N2$NjW2&CDEOx$mD*y5h
|
||||||
|
|
|
||||||
|
|
@ -14,14 +14,16 @@ spring:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
shared-configs:
|
shared-configs:
|
||||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
username: nacos
|
||||||
|
password: N2$NjW2&CDEOx$mD*y5h
|
||||||
|
|
|
||||||
|
|
@ -14,14 +14,16 @@ spring:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
shared-configs:
|
shared-configs:
|
||||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
username: nacos
|
||||||
|
password: N2$NjW2&CDEOx$mD*y5h
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
|
||||||
*
|
*
|
||||||
* @author ruoyi
|
* @author ruoyi
|
||||||
*/
|
*/
|
||||||
@EnableCustomSwagger2
|
//@EnableCustomSwagger2
|
||||||
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
|
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
|
||||||
@EnableCustomConfig
|
@EnableCustomConfig
|
||||||
@EnableRyFeignClients
|
@EnableRyFeignClients
|
||||||
|
|
|
||||||
|
|
@ -21,17 +21,19 @@ spring:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
shared-configs:
|
shared-configs:
|
||||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
username: nacos
|
||||||
|
password: N2$NjW2&CDEOx$mD*y5h
|
||||||
|
|
||||||
# 禁用Actuator端点的未经身份验证的访问
|
# 禁用Actuator端点的未经身份验证的访问
|
||||||
management:
|
management:
|
||||||
|
|
|
||||||
|
|
@ -14,14 +14,16 @@ spring:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 192.168.0.14:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
shared-configs:
|
shared-configs:
|
||||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
username: nacos
|
||||||
|
password: N2$NjW2&CDEOx$mD*y5h
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ import com.bonus.sgzb.common.swagger.annotation.EnableCustomSwagger2;
|
||||||
* @author ruoyi
|
* @author ruoyi
|
||||||
*/
|
*/
|
||||||
@EnableCustomConfig
|
@EnableCustomConfig
|
||||||
@EnableCustomSwagger2
|
//@EnableCustomSwagger2
|
||||||
@EnableRyFeignClients
|
@EnableRyFeignClients
|
||||||
@SpringBootApplication
|
@SpringBootApplication
|
||||||
public class SgzbSystemApplication
|
public class SgzbSystemApplication
|
||||||
|
|
|
||||||
|
|
@ -25,17 +25,19 @@ spring:
|
||||||
nacos:
|
nacos:
|
||||||
discovery:
|
discovery:
|
||||||
# 服务注册地址
|
# 服务注册地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
config:
|
config:
|
||||||
# 配置中心地址
|
# 配置中心地址
|
||||||
server-addr: 127.0.0.1:8848
|
server-addr: 172.16.36.33:8848
|
||||||
namespace: sgzb_cloud_dev
|
namespace: sgzb_cloud_dev
|
||||||
# 配置文件格式
|
# 配置文件格式
|
||||||
file-extension: yml
|
file-extension: yml
|
||||||
# 共享配置
|
# 共享配置
|
||||||
shared-configs:
|
shared-configs:
|
||||||
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
- application-${spring.profiles.active}.${spring.cloud.nacos.config.file-extension}
|
||||||
|
username: nacos
|
||||||
|
password: N2$NjW2&CDEOx$mD*y5h
|
||||||
#腾讯云sms
|
#腾讯云sms
|
||||||
tencent:
|
tencent:
|
||||||
sms:
|
sms:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue