修改ssl证书配置

This commit is contained in:
tsukiyalo 2025-05-25 09:00:42 +08:00
parent e9f6a219c6
commit 39f397fd70
3 changed files with 3 additions and 5 deletions

View File

@ -9,7 +9,7 @@ import org.springframework.context.annotation.Profile;
* @author xy
* Springdoc OpenAPI 配置
*
* https://localhost:9999/api/swagger-ui/index.html 接口文档地址
* http://localhost:6448/api/swagger-ui/index.html 接口文档地址
*/
@Configuration
@Profile({"dev", "test"}) // 版本控制访问

View File

@ -41,16 +41,14 @@ spring:
knife4j:
enable: true
server:
port: 9999
port: 6448
servlet:
context-path: /api
session:
timeout: 86400s
#证书
ssl:
key-store: classpath:cert/ssl/xiaokuaisong.shop.jks
key-store-password: 12m6b1c5
key-store-type: JKS
enabled: false
mybatis-plus:
configuration:
map-underscore-to-camel-case: false