From 7d03fd7d726469278b5bd1b379f0303fa55b7c3e Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期四, 17 七月 2025 11:13:32 +0800 Subject: [PATCH] 解决API调试出错 --- se-collect/src/main/resources/application-prod.yml | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/se-collect/src/main/resources/application-prod.yml b/se-collect/src/main/resources/application-prod.yml index 883aa90..232abe4 100644 --- a/se-collect/src/main/resources/application-prod.yml +++ b/se-collect/src/main/resources/application-prod.yml @@ -67,6 +67,23 @@ mybatis-plus: config-location: classpath:mybatis.xml + mapper-locations: classpath:mapper/**/*.xml + +# springdoc閰嶇疆 +springdoc: + gatewayUrl: /${spring.application.name} + api-docs: + # 鏄惁寮�鍚帴鍙f枃妗� + enabled: true + info: + # 鏍囬 + title: '鏁版嵁姹囬泦鎺ュ彛鏂囨。' + # 鎻忚堪 + description: '鏁版嵁姹囬泦鎺ュ彛鎻忚堪' + # 浣滆�呬俊鎭� + contact: + name: wuww + url: https://www.smartearth.cn/ logging: config: classpath:logback.xml -- Gitblit v1.9.3