Selaa lähdekoodia

***************************** wx ****************************************
添加建筑楼层查询平面图接口

zhangweixin 4 vuotta sitten
vanhempi
commit
87a80d0858

+ 3 - 3
labsl/src/main/kotlin/com/persagy/labsl/controller/GraphController.kt

@@ -36,7 +36,7 @@ class GraphController {
    @Operation(summary ="草稿箱-创建图", description = "id和graphId为必填,图中会包含多个节点,详细节点结构见示例")
     @PostMapping("/drafts/create")
     fun create(@RequestBody request: SCreateRequest<Graph>): SCreateResponse<Graph> {
-        return GraphService.createList(request)
+        return GraphService.draftsCreate(request)
     } // Function create()
 
     /**
@@ -97,7 +97,7 @@ class GraphController {
    @Operation(summary = "草稿箱-更新图形信息", description = "Id 和 GraphId 必填")
     @PostMapping(value = ["/drafts/update"])
     fun update(@RequestBody request: SUpdateRequest<Graph>): SBaseResponse {
-        return GraphService.updateList(request)
+        return GraphService.draftsUpdate(request)
     } // Function update()
 
     /**
@@ -157,7 +157,7 @@ class GraphController {
    @Operation(summary = "已发布-更新图形信息", description = "")
     @PostMapping(value = ["/pub/update"])
     fun updatePub(@RequestBody request: SUpdateRequest<GraphPub>): SBaseResponse {
-        return GraphPubService.updateList(request)
+        return GraphService.pubUpdate(request)
     } // Function update()
 
     /**

+ 2 - 2
labsl/src/main/kotlin/com/persagy/labsl/controller/planar/PlanarGraphController.kt

@@ -97,7 +97,7 @@ class PlanarGraphController {
     @Operation(summary = "未发布-更新图形信息", description = "Id 和 GraphId 必填")
     @PostMapping(value = ["/drafts/update"])
     fun updates(@RequestBody request: SUpdateRequest<PlanarGraph>): SBaseResponse {
-        return PlanarGraphService.updateList(request)
+        return PlanarGraphService.draftsUpdate(request)
     }
 
     /**
@@ -157,7 +157,7 @@ class PlanarGraphController {
     @Operation(summary = "已发布-更新图形信息", description = "")
     @PostMapping(value = ["/pub/update"])
     fun updatePub(@RequestBody request: SUpdateRequest<PlanarGraphPub>): SBaseResponse {
-        return PlanarGraphService.planarGraphPubService.updateList(request)
+        return PlanarGraphService.pubUpdate(request)
     }
 
     /**

+ 136 - 0
labsl/src/main/kotlin/com/persagy/labsl/services/GraphService.kt

@@ -12,6 +12,8 @@ import com.persagy.labsl.services.pub.GraphPubService
 import com.persagy.mybatis.SMybatisDao
 import com.persagy.service.SObjectService
 import com.persagy.service.models.enums.SResponseType
+import com.persagy.service.models.requests.SCreateRequest
+import com.persagy.service.models.requests.SUpdateRequest
 import com.persagy.service.models.responses.SBaseResponse
 import com.persagy.service.models.responses.SCreateResponse
 import com.persagy.service.models.responses.SQueryResponse
@@ -73,6 +75,140 @@ object GraphService : SObjectService<Graph>(SMybatisDao(
     } // Fun onCreateBefore()
 
     /**
+     * 创建
+     */
+    fun  draftsCreate(request: SCreateRequest<Graph>): SCreateResponse<Graph>{
+        val sCreateResponse = SCreateResponse<Graph>(SResponseType.success)
+        try {
+            if (!request.content.isNullOrEmpty()) {
+                for (content in request.content) {
+                    /** id 赋值 */
+                    if (content.id.isNullOrEmpty()){
+                        content.id = IdUtils.uuidCreate()
+                    }
+
+                    /** 图 id */
+                    if (content.graphId.isNullOrEmpty()){
+                        content.graphId = IdUtils.uuidCreate()
+                    }
+
+                    /** 版本 */
+                    if (content.version.isNullOrEmpty())
+                        content.version = "2.0.1"
+
+                    /** 项目 id */
+                    if (content.projectId.isNullOrEmpty()){
+                        content.projectId = Opts.projectId
+                    }
+                    val entity = select(
+                        SFilter.eq("projectId", Opts.projectId!!), SFilter.eq("categoryId", content.categoryId!!),
+                        SFilter.eq("name", content.name!!)
+                    ).entity()
+                    if (entity!=null) {
+                        sCreateResponse.result = SResponseType.failure
+                        sCreateResponse.message = "同一分类下图名称不可以重复"
+                        return sCreateResponse
+                    }else {
+                        val entity1 = GraphPubService.select(
+                            SFilter.eq("projectId", Opts.projectId!!), SFilter.eq("categoryId", content.categoryId!!),
+                            SFilter.eq("name", content.name!!)
+                        ).entity()
+                        if (entity1!=null) {
+                            sCreateResponse.result = SResponseType.failure
+                            sCreateResponse.message = "同一分类下已发布图名称已存在"
+                            return sCreateResponse
+                        }else {
+                            insert(content)
+                        }
+                    }
+                }
+                sCreateResponse.entityList = request.content
+            }else {
+                sCreateResponse.message = "不可以为空"
+            }
+            return sCreateResponse
+        } catch (e: Exception) {
+            e.printStackTrace()
+            return SCreateResponse(SResponseType.failure)
+        }
+    }
+
+    fun draftsUpdate(request: SUpdateRequest<Graph>): SBaseResponse {
+        val sBaseResponse = SBaseResponse(SResponseType.success)
+        try {
+            if (!request.content.isNullOrEmpty()) {
+                for (content in request.content!!) {
+
+                    val entity = select(
+                        SFilter.eq("projectId", Opts.projectId!!), SFilter.eq("categoryId", content.categoryId!!),
+                        SFilter.eq("name", content.name!!), SFilter.not(SFilter.eq("graphId",content.graphId!!))
+                    ).entity()
+                    if (entity!=null) {
+                        sBaseResponse.result = SResponseType.failure
+                        sBaseResponse.message = "图名称已经存在"
+                        return sBaseResponse
+                    }
+                    val entity1 = GraphPubService.select(
+                        SFilter.eq("projectId", Opts.projectId!!), SFilter.eq("categoryId", content.categoryId!!),
+                        SFilter.eq("name", content.name!!),SFilter.not(SFilter.eq("graphId",content.graphId!!))
+                    ).entity()
+                    if (entity1!=null) {
+                        sBaseResponse.result = SResponseType.failure
+                        sBaseResponse.message = "同一分类下已发布图名称已存在"
+                        return sBaseResponse
+                    }else {
+                       update(content)
+                    }
+                }
+            }
+            return sBaseResponse
+        } catch (e: Exception) {
+            e.printStackTrace()
+            return SBaseResponse(SResponseType.failure,e.message.toString())
+        }
+    }
+
+    /**
+     * 已发布修改
+     */
+    fun pubUpdate(request: SUpdateRequest<GraphPub>): SBaseResponse {
+        val sBaseResponse = SBaseResponse(SResponseType.success)
+        if (!request.content.isNullOrEmpty()) {
+            for (content in request.content!!) {
+
+                val entity = select(
+                    SFilter.eq("projectId", Opts.projectId!!), SFilter.eq("categoryId", content.categoryId!!),
+                    SFilter.eq("name", content.name!!), SFilter.not(SFilter.eq("graphId",content.graphId!!))
+                ).entity()
+                if (entity!=null) {
+                    sBaseResponse.result = SResponseType.failure
+                    sBaseResponse.message = "图名称已经存在"
+                    return sBaseResponse
+                }
+                val entity1 = GraphPubService.select(
+                    SFilter.eq("projectId", Opts.projectId!!), SFilter.eq("categoryId", content.categoryId!!),
+                    SFilter.eq("name", content.name!!),SFilter.not(SFilter.eq("graphId",content.graphId!!))
+                ).entity()
+                if (entity1!=null) {
+                    sBaseResponse.result = SResponseType.failure
+                    sBaseResponse.message = "同一分类下已发布图名称已存在"
+                    return sBaseResponse
+                }else {
+                    GraphPubService.update(content)
+                }
+
+            }
+        }
+        return sBaseResponse
+    }
+
+
+
+
+
+
+
+    /**
      * 创建图
      *
      * @param graph   图对象

+ 93 - 0
labsl/src/main/kotlin/com/persagy/labsl/services/planar/PlanarGraphService.kt

@@ -16,6 +16,7 @@ import com.persagy.mybatis.SMybatisDao
 import com.persagy.service.SObjectService
 import com.persagy.service.models.enums.SResponseType
 import com.persagy.service.models.requests.SQueryRequest
+import com.persagy.service.models.requests.SUpdateRequest
 import com.persagy.service.models.responses.SBaseResponse
 import com.persagy.service.models.responses.SCreateResponse
 import com.persagy.service.models.responses.SQueryResponse
@@ -87,6 +88,28 @@ object PlanarGraphService : SObjectService<PlanarGraph>(SMybatisDao(PlanarGraph:
             entity.projectId = Opts.projectId
         }
         entity.state = "Draft"
+
+        val entity1 = select(
+            SFilter.eq("projectId", Opts.projectId!!),
+            SFilter.eq("floorId", entity.floorId!!),
+            SFilter.eq("name", entity.name!!)
+        ).entity()
+        if (entity1!=null) {
+            sCreateResponse.result = SResponseType.failure
+            sCreateResponse.message = "图名称已存在"
+            return sCreateResponse
+        }
+        val entity2 = planarGraphPubService.select(
+            SFilter.eq("projectId", Opts.projectId!!),
+            SFilter.eq("floorId", entity.floorId!!),
+            SFilter.eq("name", entity.name!!)
+        ).entity()
+        if (entity2!=null) {
+            sCreateResponse.result = SResponseType.failure
+            sCreateResponse.message = "图名称已存在"
+            return sCreateResponse
+        }
+
         if (!entity.folderName.isNullOrEmpty()) {
 
             val execList = QbsFolderService.select(SFilter.eq("projectId", Opts.projectId!!),SFilter.eq("name", entity.folderName!!)).exec()
@@ -95,6 +118,7 @@ object PlanarGraphService : SObjectService<PlanarGraph>(SMybatisDao(PlanarGraph:
                 sCreateResponse.message ="文件夹名称已存在"
                 return sCreateResponse
             }
+
             val qbsFolder = QbsFolder()
             qbsFolder.id = IdUtils.uuidCreate()
             entity.folderId = qbsFolder.id
@@ -522,6 +546,75 @@ object PlanarGraphService : SObjectService<PlanarGraph>(SMybatisDao(PlanarGraph:
         }
     }
 
+
+    fun draftsUpdate(request: SUpdateRequest<PlanarGraph>): SBaseResponse {
+        val sBaseResponse = SBaseResponse(SResponseType.success)
+        if (!request.content.isNullOrEmpty()) {
+            for (content in request.content!!) {
+                val entity1 = select(
+                    SFilter.eq("projectId", Opts.projectId!!),
+                    SFilter.eq("floorId", content.floorId!!),
+                    SFilter.eq("name", content.name!!),
+                    SFilter.not(SFilter.eq("graphId",content.graphId!!))
+                ).entity()
+                if (entity1!=null) {
+                    sBaseResponse.result = SResponseType.failure
+                    sBaseResponse.message = "图名称已存在"
+                    return sBaseResponse
+                }
+                val entity2 = planarGraphPubService.select(
+                    SFilter.eq("projectId", Opts.projectId!!),
+                    SFilter.eq("floorId", content.floorId!!),
+                    SFilter.eq("name", content.name!!),
+                    SFilter.not(SFilter.eq("graphId",content.graphId!!))
+                ).entity()
+                if (entity2!=null) {
+                    sBaseResponse.result = SResponseType.failure
+                    sBaseResponse.message = "图名称已存在"
+                    return sBaseResponse
+                }
+
+                update(content)
+            }
+        }
+
+        return  sBaseResponse
+    }
+
+    fun pubUpdate(request: SUpdateRequest<PlanarGraphPub>): SBaseResponse {
+        val sBaseResponse = SBaseResponse(SResponseType.success)
+        if (!request.content.isNullOrEmpty()) {
+            for (content in request.content!!) {
+                val entity1 = select(
+                    SFilter.eq("projectId", Opts.projectId!!),
+                    SFilter.eq("floorId", content.floorId!!),
+                    SFilter.eq("name", content.name!!),
+                    SFilter.not(SFilter.eq("graphId",content.graphId!!))
+                ).entity()
+                if (entity1!=null) {
+                    sBaseResponse.result = SResponseType.failure
+                    sBaseResponse.message = "图名称已存在"
+                    return sBaseResponse
+                }
+                val entity2 = planarGraphPubService.select(
+                    SFilter.eq("projectId", Opts.projectId!!),
+                    SFilter.eq("floorId", content.floorId!!),
+                    SFilter.eq("name", content.name!!),
+                    SFilter.not(SFilter.eq("graphId",content.graphId!!))
+                ).entity()
+                if (entity2!=null) {
+                    sBaseResponse.result = SResponseType.failure
+                    sBaseResponse.message = "图名称已存在"
+                    return sBaseResponse
+                }
+                planarGraphPubService.update(content)
+            }
+        }
+
+        return  sBaseResponse
+    }
+
+
     /**
      * 清除草稿箱以前数据
      *

+ 2 - 2
labsl/src/main/resources/application-dev.yml

@@ -6,10 +6,10 @@ spring:
 #    url:                                jdbc:postgresql://172.16.44.234:5432/datacenter
 #    username:                           postgres
 #    password:                           123456
-    url:                                jdbc:postgresql://60.205.177.43:5432/datacenterlabsl
+#    url:                                jdbc:postgresql://60.205.177.43:5432/datacenterlabsl
 #   username:                           postgres
 #   password:                           123qwe!@#
-#    url:                                jdbc:postgresql://39.102.40.239:5432/datacenter
+    url:                                jdbc:postgresql://39.102.40.239:5432/datacenter
     username:                           postgres
 #    password:                           persagy_2020qwe!@#
     password:                           cGVyc2FneV8yMDIwcXdlIUAj

+ 17 - 10
labsl/src/main/resources/application-prod.yml

@@ -1,18 +1,25 @@
 server:
-  port: 8080
+  port: 8834
 
 spring:
   datasource:
-#    url:                                jdbc:postgresql://172.17.11.228:5432/datacenterlabsl
-#    url:                                jdbc:postgresql://192.168.64.14:5432/datacenterlabsl
-#    username:                           postgres
-##    password:                           123qwe!@#
-#    password:                           cGVyc2FneV8yMDIwcXdlIUAj
 
-#  datasource:
-    url:                                jdbc:postgresql://172.17.100.16:5432/datacenter
+    url:                                jdbc:postgresql://v49201.db.redstar.pro:5432/datacenter
     username:                           postgres
-#    password:                           persagy_2020qwe!@#
-    password:                           cGVyc2FneV8yMDIwcXdlIUAj
+    password:                           123456
 
 
+# spring-cloud相关配置
+eureka:
+  client:                                   #客户端注册进eureka服务列表内
+    service-url:
+      defaultZone:                       http://frame:123456@172.16.46.33:9931/integrated-eureka/eureka/,http://frame:123456@172.16.46.34:9931/integrated-eureka/eureka/
+      #      defaultZone:                          http://admin:1qaz2wsx@127.0.0.1:8888/eureka/ #增加密码
+      enable-self-preservation: false # 设为false,关闭自我保护
+      eviction-interval-timer-in-ms: 5000 # 清理间隔(单位毫秒,默认是60*1000)启用主动失效,
+  instance:
+    #不加的话我看过eureka注册界面,是以docker容器的container id注册过去的,譬如container id为abcde,
+    #那么当访问该微服务时,eureka以http://abcde/xxx,去访问的,当然是访问不到该服务.
+    #配置下面的选项后,就会以内网ip加端口去访问就能访问到了。
+    prefer-ip-address: true
+    instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port}

+ 34 - 0
labsl/src/main/resources/application-prod2.yml

@@ -0,0 +1,34 @@
+server:
+  port: 8080
+
+spring:
+  datasource:
+#    url:                                jdbc:postgresql://172.17.11.228:5432/datacenterlabsl
+#    url:                                jdbc:postgresql://192.168.64.14:5432/datacenterlabsl
+#    username:                           postgres
+##    password:                           123qwe!@#
+#    password:                           cGVyc2FneV8yMDIwcXdlIUAj
+
+#  datasource:
+    url:                                jdbc:postgresql://172.17.100.16:5432/datacenter
+    username:                           postgres
+#    password:                           persagy_2020qwe!@#
+    password:                           cGVyc2FneV8yMDIwcXdlIUAj
+
+
+# spring-cloud相关配置
+eureka:
+  client:                                   #客户端注册进eureka服务列表内
+    service-url:
+      #      defaultZone:                          http://192.168.64.18:9931/eureka
+      defaultZone:                                http://frame:123456@39.102.43.179:9931/eureka/
+      #      defaultZone:                                http://frame:123456@192.168.64.18:9931/eureka
+      #      defaultZone:                          http://admin:1qaz2wsx@127.0.0.1:8888/eureka/ #增加密码
+      enable-self-preservation: false # 设为false,关闭自我保护
+      eviction-interval-timer-in-ms: 5000 # 清理间隔(单位毫秒,默认是60*1000)启用主动失效,
+  instance:
+    #不加的话我看过eureka注册界面,是以docker容器的container id注册过去的,譬如container id为abcde,
+    #那么当访问该微服务时,eureka以http://abcde/xxx,去访问的,当然是访问不到该服务.
+    #配置下面的选项后,就会以内网ip加端口去访问就能访问到了。
+    prefer-ip-address: true
+    instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port}

+ 2 - 0
labsl/src/main/resources/application-test.yml

@@ -4,6 +4,8 @@ server:
 spring:
   datasource:
     url:                                jdbc:postgresql://datacenter:5432/datacenter
+#    url:                                jdbc:postgresql://192.168.64.15:5432/datacenter
+#    url:                                jdbc:postgresql://datacenter:5432/datacenterlabsl
     username:                           postgres
     password:                           cGVyc2FneV8yMDIwcXdlIUAj
 

+ 1 - 1
meiku/build.gradle

@@ -59,7 +59,7 @@ dependencies {
 
     ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
     // spring cloud 依赖
-//    compile group: 'org.springframework.cloud', name: 'spring-cloud-starter-eureka', version: SPRING_CLOUD_VERSION
+    compile group: 'org.springframework.cloud', name: 'spring-cloud-starter-eureka', version: SPRING_CLOUD_VERSION
 
     ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
     // MySQL

+ 36 - 9
meiku/src/main/resources/application-prod.yml

@@ -1,16 +1,43 @@
 server:
-  port: 8080
+  port: 8834
 
 spring:
   datasource:
-    url:                                jdbc:postgresql://172.17.11.228:5432/datacenterlabsl
-##    url:                                jdbc:postgresql://192.168.64.14:5432/datacenterlabsl
+#    url:                                jdbc:postgresql://v49201.db.redstar.pro:5432/datacenter
 #    username:                           postgres
-##    password:                           123qwe!@#
-#    password:                           cGVyc2FneV8yMDIwcXdlIUAj
-
-#  datasource:
-#    url:                                jdbc:postgresql://172.17.100.16:5432/datacenterlabsl
+#    password:                           123456
+    url:                                jdbc:postgresql://8.140.129.63:5432/datacenter
     username:                           postgres
-#    password:                           persagy_2020qwe!@#
     password:                           cGVyc2FneV8yMDIwcXdlIUAj
+
+# spring-cloud相关配置
+#eureka:
+#  client:                                   #客户端注册进eureka服务列表内
+#    service-url:
+#
+#      defaultZone:                      http://frame:123456@172.16.46.33:9931/integrated-eureka/eureka/,http://frame:123456@172.16.46.34:9931/integrated-eureka/eureka/
+#      enable-self-preservation: false # 设为false,关闭自我保护
+#      eviction-interval-timer-in-ms: 5000 # 清理间隔(单位毫秒,默认是60*1000)启用主动失效,
+#  instance:
+#    #不加的话我看过eureka注册界面,是以docker容器的container id注册过去的,譬如container id为abcde,
+#    #那么当访问该微服务时,eureka以http://abcde/xxx,去访问的,当然是访问不到该服务.
+#    #配置下面的选项后,就会以内网ip加端口去访问就能访问到了。
+#    prefer-ip-address: true
+#    instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port}
+
+# spring-cloud相关配置
+eureka:
+  client:                                   #客户端注册进eureka服务列表内
+    service-url:
+      #      defaultZone:                          http://192.168.64.18:9931/eureka
+      defaultZone:                                http://frame:123456@39.102.43.179:9931/eureka/
+      #      defaultZone:                                http://frame:123456@192.168.64.18:9931/eureka
+      #      defaultZone:                          http://admin:1qaz2wsx@127.0.0.1:8888/eureka/ #增加密码
+      enable-self-preservation: false # 设为false,关闭自我保护
+      eviction-interval-timer-in-ms: 5000 # 清理间隔(单位毫秒,默认是60*1000)启用主动失效,
+  instance:
+    #不加的话我看过eureka注册界面,是以docker容器的container id注册过去的,譬如container id为abcde,
+    #那么当访问该微服务时,eureka以http://abcde/xxx,去访问的,当然是访问不到该服务.
+    #配置下面的选项后,就会以内网ip加端口去访问就能访问到了。
+    prefer-ip-address: true
+    instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port}

+ 34 - 0
meiku/src/main/resources/application-prod2.yml

@@ -0,0 +1,34 @@
+server:
+  port: 8080
+
+spring:
+  datasource:
+    url:                                jdbc:postgresql://172.17.11.228:5432/datacenterlabsl
+##    url:                                jdbc:postgresql://192.168.64.14:5432/datacenterlabsl
+#    username:                           postgres
+##    password:                           123qwe!@#
+#    password:                           cGVyc2FneV8yMDIwcXdlIUAj
+
+#  datasource:
+#    url:                                jdbc:postgresql://172.17.100.16:5432/datacenterlabsl
+    username:                           postgres
+#    password:                           persagy_2020qwe!@#
+    password:                           cGVyc2FneV8yMDIwcXdlIUAj
+
+
+# spring-cloud相关配置
+eureka:
+  client:                                   #客户端注册进eureka服务列表内
+    service-url:
+      #      defaultZone:                          http://192.168.64.18:9931/eureka
+      defaultZone:                                http://frame:123456@39.102.43.179:9931/eureka/
+      #      defaultZone:                                http://frame:123456@192.168.64.18:9931/eureka
+      #      defaultZone:                          http://admin:1qaz2wsx@127.0.0.1:8888/eureka/ #增加密码
+      enable-self-preservation: false # 设为false,关闭自我保护
+      eviction-interval-timer-in-ms: 5000 # 清理间隔(单位毫秒,默认是60*1000)启用主动失效,
+  instance:
+    #不加的话我看过eureka注册界面,是以docker容器的container id注册过去的,譬如container id为abcde,
+    #那么当访问该微服务时,eureka以http://abcde/xxx,去访问的,当然是访问不到该服务.
+    #配置下面的选项后,就会以内网ip加端口去访问就能访问到了。
+    prefer-ip-address: true
+    instance-id: ${spring.cloud.client.ip-address}:${spring.application.name}:${server.port}

+ 2 - 1
meiku/src/main/resources/application-test.yml

@@ -3,6 +3,7 @@ server:
 
 spring:
   datasource:
-    url:                                jdbc:postgresql://datacenter:5432/datacenter
+    url:                                jdbc:postgresql://datacenter:5432/datacenterlabsl
+#    url:                                jdbc:postgresql://datacenter:5432/datacenter
     username:                           postgres
     password:                           cGVyc2FneV8yMDIwcXdlIUAj

+ 0 - 17
meiku/src/main/resources/application.yml

@@ -1,21 +1,4 @@
 ###############################################################################################################
-# spring-cloud相关配置
-#eureka:
-#  client:                                   #客户端注册进eureka服务列表内
-#    service-url:
-#      defaultZone:                          http://eureka-service:8761/eureka
-#启用监控
-management:
-  endpoints:
-    web:
-      exposure:
-        include:
-          - "*"  # 开放所有端点health,info,metrics,通过actuator/+端点名就可以获取相应的信息。默认打开health和info
-  endpoint:
-    health:
-      #未开启actuator/health时,我们获取到的信息是{"status":"UP"},status的值还有可能是 DOWN。开启后打印详细信息
-      show-details:                       always
-###############################################################################################################
 
 spring:
   servlet: