mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-19 17:58:17 +08:00
Merge branch 'dev' of https://gitee.com/JavaLionLi/RuoYi-Vue-Plus into dev
This commit is contained in:
commit
8356141a62
@ -124,6 +124,8 @@ spring:
|
|||||||
admin:
|
admin:
|
||||||
# Spring Boot Admin Client 客户端的相关配置
|
# Spring Boot Admin Client 客户端的相关配置
|
||||||
client:
|
client:
|
||||||
|
# 增加客户端开关
|
||||||
|
enabled: true
|
||||||
# 设置 Spring Boot Admin Server 地址
|
# 设置 Spring Boot Admin Server 地址
|
||||||
url: http://localhost:9090/admin
|
url: http://localhost:9090/admin
|
||||||
instance:
|
instance:
|
||||||
|
|||||||
@ -124,6 +124,8 @@ spring:
|
|||||||
admin:
|
admin:
|
||||||
# Spring Boot Admin Client 客户端的相关配置
|
# Spring Boot Admin Client 客户端的相关配置
|
||||||
client:
|
client:
|
||||||
|
# 增加客户端开关
|
||||||
|
enabled: true
|
||||||
# 设置 Spring Boot Admin Server 地址
|
# 设置 Spring Boot Admin Server 地址
|
||||||
url: http://172.30.0.90:9090/admin
|
url: http://172.30.0.90:9090/admin
|
||||||
instance:
|
instance:
|
||||||
|
|||||||
@ -129,18 +129,9 @@ public class Constants
|
|||||||
*/
|
*/
|
||||||
public static final String SYS_DICT_KEY = "sys_dict:";
|
public static final String SYS_DICT_KEY = "sys_dict:";
|
||||||
|
|
||||||
/**
|
|
||||||
* 资源映射路径 前缀
|
|
||||||
*/
|
|
||||||
public static final String RESOURCE_PREFIX = "/profile";
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* RMI 远程方法调用
|
* RMI 远程方法调用
|
||||||
*/
|
*/
|
||||||
public static final String LOOKUP_RMI = "rmi://";
|
public static final String LOOKUP_RMI = "rmi://";
|
||||||
|
|
||||||
/**
|
|
||||||
* 资源映射路径 前缀
|
|
||||||
*/
|
|
||||||
public static final String REDIS_LOCK_KEY = "redis_lock:";
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,12 +1,8 @@
|
|||||||
package com.ruoyi.framework.config;
|
package com.ruoyi.framework.config;
|
||||||
|
|
||||||
import org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer;
|
|
||||||
import org.springframework.context.annotation.Bean;
|
|
||||||
import org.springframework.context.annotation.Configuration;
|
import org.springframework.context.annotation.Configuration;
|
||||||
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
import org.springframework.context.annotation.EnableAspectJAutoProxy;
|
||||||
|
|
||||||
import java.util.TimeZone;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 程序注解配置
|
* 程序注解配置
|
||||||
*
|
*
|
||||||
@ -16,11 +12,5 @@ import java.util.TimeZone;
|
|||||||
// 表示通过aop框架暴露该代理对象,AopContext能够访问
|
// 表示通过aop框架暴露该代理对象,AopContext能够访问
|
||||||
@EnableAspectJAutoProxy(exposeProxy = true)
|
@EnableAspectJAutoProxy(exposeProxy = true)
|
||||||
public class ApplicationConfig {
|
public class ApplicationConfig {
|
||||||
/**
|
|
||||||
* 时区配置
|
|
||||||
*/
|
|
||||||
@Bean
|
|
||||||
public Jackson2ObjectMapperBuilderCustomizer jacksonObjectMapperCustomization() {
|
|
||||||
return jacksonObjectMapperBuilder -> jacksonObjectMapperBuilder.timeZone(TimeZone.getDefault());
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -104,8 +104,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
|
|||||||
"/*.html",
|
"/*.html",
|
||||||
"/**/*.html",
|
"/**/*.html",
|
||||||
"/**/*.css",
|
"/**/*.css",
|
||||||
"/**/*.js",
|
"/**/*.js"
|
||||||
"/profile/**"
|
|
||||||
).permitAll()
|
).permitAll()
|
||||||
.antMatchers("/doc.html").anonymous()
|
.antMatchers("/doc.html").anonymous()
|
||||||
.antMatchers("/swagger-resources/**").anonymous()
|
.antMatchers("/swagger-resources/**").anonymous()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user