浏览代码

添加生产配置

yangliu 2 月之前
父节点
当前提交
dd7b26b83b
共有 1 个文件被更改,包括 14 次插入0 次删除
  1. 14 0
      src/main/resources/application.yml

+ 14 - 0
src/main/resources/application.yml

@@ -20,6 +20,20 @@ spring:
             - StripPrefix=1
 
 
+lnxx:
+  knife4j:
+    doc:
+      enable: true
+      title: "微服务 API 文档聚合"
+      description: "统一管理所有微服务的 API 文档"
+      version: "1.0.0"
+      gateway:
+        enable: true
+        services:
+          - name: "门户服务"
+            url: "/portal-service-server/v3/api-docs"
+            description: "门户服务相关接口"
+
 
 sa-token:
   config: