init
This commit is contained in:
parent
babba96da2
commit
4b228e6f0b
@ -7,9 +7,6 @@
|
||||
[项目文档ruoyi-vue-cloud](https://cloud.iocoder.cn)
|
||||
|
||||
站内消息服务
|
||||
## 一键改包
|
||||
boot模块下执行ProjectReactor的main方法即可
|
||||
|
||||
## 接口文档
|
||||
http://127.0.0.1:${port}/doc.html
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
server.port=28099
|
||||
spring.application.name=demo
|
||||
spring.application.name=eos-demo
|
||||
server.servlet.session.timeout=PT120M
|
||||
|
||||
server.app-server.accept-count=1000
|
||||
@ -32,7 +32,7 @@ spring.session.store-type=none
|
||||
spring.redis.host=192.168.3.32
|
||||
spring.redis.port=6379
|
||||
spring.redis.password=panshu123
|
||||
spring.redis.database=2
|
||||
#spring.redis.database=2
|
||||
spring.redis.lettuce.pool.max-active=100
|
||||
spring.redis.lettuce.pool.max-idle=100
|
||||
spring.redis.lettuce.pool.max-wait=5000
|
||||
|
@ -16,7 +16,7 @@ public class SwaggerConfig {
|
||||
@Bean
|
||||
public Docket createRestApi() {
|
||||
return new Docket(DocumentationType.SWAGGER_2) // DocumentationType.SWAGGER_2 固定的,代表swagger2
|
||||
.groupName("站内消息服务") // 如果配置多个文档的时候,那么需要配置groupName来分组标识
|
||||
.groupName("test") // 如果配置多个文档的时候,那么需要配置groupName来分组标识
|
||||
.apiInfo(apiInfo()) // 用于生成API信息
|
||||
.select() // select()函数返回一个ApiSelectorBuilder实例,用来控制接口被swagger做成文档
|
||||
// 扫描指定包下的接口,最为常用
|
||||
|
Loading…
x
Reference in New Issue
Block a user