1.放行主页和消息箱
This commit is contained in:
@@ -31,7 +31,7 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
||||
private String[] getExcludePaths() {
|
||||
return new String[]{
|
||||
// Swagger & Knife4j 相关
|
||||
"/error",
|
||||
"/error",
|
||||
"/doc.html",
|
||||
"/webjars/**",
|
||||
"/swagger-resources/**",
|
||||
@@ -55,8 +55,9 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
||||
"/user/checkUserName",
|
||||
"/user/verification",
|
||||
"/user/forgetMail",
|
||||
"/user/resetPassword"
|
||||
|
||||
"/user/resetPassword",
|
||||
"/pk/pkList",
|
||||
"/systemMessage/list"
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ server:
|
||||
spring:
|
||||
profiles:
|
||||
active: local
|
||||
task:
|
||||
# Spring 执行器配置,对应 TaskExecutionProperties 配置类。对于 Spring 异步任务,会使用该执行器。
|
||||
execution:
|
||||
thread-name-prefix: mail-task # 线程池的线程名的前缀。默认为 task- ,建议根据自己应用来设置
|
||||
@@ -42,9 +41,9 @@ sa-token:
|
||||
# 是否输出操作日志
|
||||
is-log: true
|
||||
|
||||
activateUrl: http://pk.webapp.yolozs.com/activationSuccessful/
|
||||
verificationMailUrl: http://pk.webapp.yolozs.com/verifyAccount/
|
||||
forgetPassWordUrl: http://pk.webapp.yolozs.com/resetPassword/
|
||||
activateUrl: https://pk.webapp.yolozs.com/activationSuccessful/
|
||||
verificationMailUrl: https://pk.webapp.yolozs.com/verifyAccount/
|
||||
forgetPassWordUrl: https://pk.webapp.yolozs.com/resetPassword/
|
||||
|
||||
dromara:
|
||||
x-file-storage: #文件存储配置
|
||||
|
||||
@@ -8,7 +8,6 @@ spring:
|
||||
url: jdbc:mysql://mysql.text.zhukeping.com:3326/vv_assistant?allowMultiQueries=true
|
||||
|
||||
|
||||
|
||||
chat:
|
||||
appId: 1600092688
|
||||
appKey: 9bb6df04907a8cff9292eee8d6b32158d008350198acba11607068d91cb65f66
|
||||
@@ -4,7 +4,6 @@ server:
|
||||
spring:
|
||||
profiles:
|
||||
active: local
|
||||
task:
|
||||
# Spring 执行器配置,对应 TaskExecutionProperties 配置类。对于 Spring 异步任务,会使用该执行器。
|
||||
execution:
|
||||
thread-name-prefix: mail-task # 线程池的线程名的前缀。默认为 task- ,建议根据自己应用来设置
|
||||
@@ -42,9 +41,9 @@ sa-token:
|
||||
# 是否输出操作日志
|
||||
is-log: true
|
||||
|
||||
activateUrl: http://192.168.1.112:8080/activationSuccessful/
|
||||
verificationMailUrl: http://192.168.1.112:8080/verifyAccount/
|
||||
forgetPassWordUrl: http://192.168.1.112:8080/resetPassword/
|
||||
activateUrl: https://pk.webapp.yolozs.com/activationSuccessful/
|
||||
verificationMailUrl: https://pk.webapp.yolozs.com/verifyAccount/
|
||||
forgetPassWordUrl: https://pk.webapp.yolozs.com/resetPassword/
|
||||
|
||||
dromara:
|
||||
x-file-storage: #文件存储配置
|
||||
|
||||
Reference in New Issue
Block a user