diff --git a/nc_wms_java/pom.xml b/nc_wms_java/pom.xml index c1aee27..ad65b40 100644 --- a/nc_wms_java/pom.xml +++ b/nc_wms_java/pom.xml @@ -59,7 +59,7 @@ 2.3.33 1.18.1 3.1.0 - 1.9.4 + 2.0.0 1.9.5 diff --git a/nc_wms_java/sa-base/src/main/resources/dev/sa-base.yaml b/nc_wms_java/sa-base/src/main/resources/dev/sa-base.yaml index a63922e..d53f2e9 100644 --- a/nc_wms_java/sa-base/src/main/resources/dev/sa-base.yaml +++ b/nc_wms_java/sa-base/src/main/resources/dev/sa-base.yaml @@ -169,4 +169,19 @@ smart: # 数据库配置检测-开关 默认开启 可选(作用是固定间隔读取数据库配置更新任务,关闭后只能重启服务或通过接口修改定时任务,建议开启) db-refresh-enabled: true # 数据库配置检测-执行间隔 默认120秒 可选 - db-refresh-interval: 60 \ No newline at end of file + db-refresh-interval: 60 + +# Springboot Actuator授权 +management: + endpoints: + web: + exposure: + include: "health" # 只暴露健康检查端点 + endpoint: + health: + show-details: never + shutdown: + enabled: false # 显式关闭危险端点 + server: + port: 8002 + address: 127.0.0.1 \ No newline at end of file diff --git a/nc_wms_java/sa-base/src/main/resources/prod/sa-base.yaml b/nc_wms_java/sa-base/src/main/resources/prod/sa-base.yaml index ca6742a..69b095b 100644 --- a/nc_wms_java/sa-base/src/main/resources/prod/sa-base.yaml +++ b/nc_wms_java/sa-base/src/main/resources/prod/sa-base.yaml @@ -171,4 +171,19 @@ smart: # 数据库配置检测-开关 默认开启 可选(作用是固定间隔读取数据库配置更新任务,关闭后只能重启服务或通过接口修改定时任务,建议开启) db-refresh-enabled: true # 数据库配置检测-执行间隔 默认120秒 可选 - db-refresh-interval: 60 \ No newline at end of file + db-refresh-interval: 60 + +# Springboot Actuator授权 +management: + endpoints: + web: + exposure: + include: "health" # 只暴露健康检查端点 + endpoint: + health: + show-details: never + shutdown: + enabled: false # 显式关闭危险端点 + server: + port: 8002 + address: 127.0.0.1 \ No newline at end of file diff --git a/nc_wms_java/solution.xml b/nc_wms_java/solution.xml deleted file mode 100644 index 52c78cb..0000000 --- a/nc_wms_java/solution.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - orders.id, - orders.order_number, - orders.status, - orders.create_time, - orders.updateInfo.operatorName, - orders.updateInfo.operateTime - - - - - - - - - - \ No newline at end of file