恢复误删除文件
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package com.gis.xian.config;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.stereotype.Component;
|
||||
|
||||
/**
|
||||
* 算法服务器配置属性
|
||||
*/
|
||||
@Data
|
||||
@Component
|
||||
@ConfigurationProperties(prefix = "algorithm.server")
|
||||
public class AlgorithmServerProperties {
|
||||
|
||||
/**
|
||||
* 算法服务器地址
|
||||
*/
|
||||
private String url;
|
||||
}
|
||||
@@ -1,7 +1,3 @@
|
||||
# 端口
|
||||
server:
|
||||
port: 8081
|
||||
|
||||
# 开发环境配置
|
||||
spring:
|
||||
config:
|
||||
@@ -45,12 +41,11 @@ safety:
|
||||
- /druid
|
||||
- /websocket/info
|
||||
- /websocket/**
|
||||
- /open/**
|
||||
|
||||
# 请求无需解密的路径
|
||||
no-decrypt-paths:
|
||||
- /crypto/sm2/public-key
|
||||
- /druid
|
||||
- /websocket/info
|
||||
- /websocket/**
|
||||
- /open/**
|
||||
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
# 端口
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
# 生产环境配置
|
||||
spring:
|
||||
config:
|
||||
|
||||
@@ -0,0 +1,7 @@
|
||||
# 端口
|
||||
server:
|
||||
port: 8081
|
||||
|
||||
algorithm:
|
||||
server:
|
||||
url: "http://localhost:8082"
|
||||
@@ -0,0 +1,7 @@
|
||||
# 端口
|
||||
server:
|
||||
port: 8080
|
||||
|
||||
algorithm:
|
||||
server:
|
||||
url: "http://localhost:8081"
|
||||
Reference in New Issue
Block a user