调整后端启动配置与认证拦截
This commit is contained in:
@@ -143,6 +143,12 @@ public class AuthInterceptor implements HandlerInterceptor {
|
|||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
if (tenantId == null) {
|
||||||
|
// 对于无需鉴权的路径(如飞书/钉钉 webhook),使用默认租户,不要求登录
|
||||||
|
if (isExcludedPath(originalRequestUri)) {
|
||||||
|
tenantId = 1L;
|
||||||
|
}
|
||||||
if (tenantId == null) {
|
if (tenantId == null) {
|
||||||
tenantId = 1L;
|
tenantId = 1L;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -172,7 +172,10 @@ eco-market:
|
|||||||
# 服务端配置
|
# 服务端配置
|
||||||
server:
|
server:
|
||||||
# 远程server端的 ip端口配置
|
# 远程server端的 ip端口配置
|
||||||
base-url: ${ECO_MARKET_SERVER_URL:https://test-agent-market-api.xspaceagi.com}
|
enabled: ${ECO_MARKET_SERVER_ENABLED:false}
|
||||||
|
base-url: ${ECO_MARKET_SERVER_URL:}
|
||||||
|
# 是否拉取官方生态市场通知,私有化部署默认关闭
|
||||||
|
pull-message-enabled: ${ECO_MARKET_PULL_MESSAGE_ENABLED:false}
|
||||||
client:
|
client:
|
||||||
# 客户端配置
|
# 客户端配置
|
||||||
retry:
|
retry:
|
||||||
|
|||||||
@@ -89,7 +89,7 @@ jwt:
|
|||||||
secretKey: ${JWT_SECRET_KEY:qiming-local-dev-jwt-secret-key-32-chars}
|
secretKey: ${JWT_SECRET_KEY:qiming-local-dev-jwt-secret-key-32-chars}
|
||||||
|
|
||||||
file:
|
file:
|
||||||
uploadFolder: ${FILE_UPLOAD_FOLDER:D:/work/workspace/feitian-base/nvw/.dev/uploads}
|
uploadFolder: ${FILE_UPLOAD_FOLDER:/Users/qiming/qiming-work/uploads}
|
||||||
baseUrl: ${FILE_BASE_URL:http://localhost:18081/files/}
|
baseUrl: ${FILE_BASE_URL:http://localhost:18081/files/}
|
||||||
|
|
||||||
# Storage configuration
|
# Storage configuration
|
||||||
@@ -98,7 +98,7 @@ storage:
|
|||||||
|
|
||||||
local:
|
local:
|
||||||
upload:
|
upload:
|
||||||
folder: ${LOCAL_UPLOAD_FOLDER:D:/work/workspace/feitian-base/nvw/.dev/uploads}
|
folder: ${LOCAL_UPLOAD_FOLDER:/Users/qiming/qiming-work/uploads}
|
||||||
|
|
||||||
# Tencent Cloud COS configuration (takes effect when storage.type=cos)
|
# Tencent Cloud COS configuration (takes effect when storage.type=cos)
|
||||||
cos:
|
cos:
|
||||||
@@ -172,7 +172,10 @@ eco-market:
|
|||||||
# 服务端配置
|
# 服务端配置
|
||||||
server:
|
server:
|
||||||
# 远程server端的 ip端口配置
|
# 远程server端的 ip端口配置
|
||||||
base-url: ${ECO_MARKET_SERVER_URL:https://test-agent-market-api.xspaceagi.com}
|
enabled: ${ECO_MARKET_SERVER_ENABLED:false}
|
||||||
|
base-url: ${ECO_MARKET_SERVER_URL:}
|
||||||
|
# 是否拉取官方生态市场通知,私有化部署默认关闭
|
||||||
|
pull-message-enabled: ${ECO_MARKET_PULL_MESSAGE_ENABLED:false}
|
||||||
client:
|
client:
|
||||||
# 客户端配置
|
# 客户端配置
|
||||||
retry:
|
retry:
|
||||||
|
|||||||
@@ -169,7 +169,10 @@ eco-market:
|
|||||||
# 服务端配置
|
# 服务端配置
|
||||||
server:
|
server:
|
||||||
# 远程server端的 ip端口配置
|
# 远程server端的 ip端口配置
|
||||||
base-url: ${ECO_MARKET_SERVER_URL:https://agent-market-api.xspaceagi.com}
|
enabled: ${ECO_MARKET_SERVER_ENABLED:false}
|
||||||
|
base-url: ${ECO_MARKET_SERVER_URL:}
|
||||||
|
# 是否拉取官方生态市场通知,私有化部署默认关闭
|
||||||
|
pull-message-enabled: ${ECO_MARKET_PULL_MESSAGE_ENABLED:false}
|
||||||
client:
|
client:
|
||||||
# 客户端配置
|
# 客户端配置
|
||||||
retry:
|
retry:
|
||||||
|
|||||||
@@ -169,7 +169,10 @@ eco-market:
|
|||||||
# 服务端配置
|
# 服务端配置
|
||||||
server:
|
server:
|
||||||
# 远程server端的 ip端口配置
|
# 远程server端的 ip端口配置
|
||||||
base-url: ${ECO_MARKET_SERVER_URL:https://test-agent-market-api.xspaceagi.com}
|
enabled: ${ECO_MARKET_SERVER_ENABLED:false}
|
||||||
|
base-url: ${ECO_MARKET_SERVER_URL:}
|
||||||
|
# 是否拉取官方生态市场通知,私有化部署默认关闭
|
||||||
|
pull-message-enabled: ${ECO_MARKET_PULL_MESSAGE_ENABLED:false}
|
||||||
client:
|
client:
|
||||||
# 客户端配置
|
# 客户端配置
|
||||||
retry:
|
retry:
|
||||||
|
|||||||
Reference in New Issue
Block a user