|
|
@ -1,7 +1,29 @@ |
|
|
|
spring: |
|
|
|
profiles: |
|
|
|
active: dev |
|
|
|
web: |
|
|
|
resources: |
|
|
|
static-locations: file:appresource/static/app/,file:appresource/static/,file:/opt/app/static/ |
|
|
|
datasource: |
|
|
|
# url: jdbc:sqlite::resource:app.db |
|
|
|
url: jdbc:sqlite:appresource/db/app.db |
|
|
|
driver-class-name: org.sqlite.JDBC |
|
|
|
jackson: |
|
|
|
|
|
|
|
#mybatis: |
|
|
|
# configuration: |
|
|
|
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
|
|
|
serialization: |
|
|
|
write-dates-as-timestamps: true |
|
|
|
|
|
|
|
server: |
|
|
|
port: 8080 |
|
|
|
|
|
|
|
VirtualDevice: |
|
|
|
enableVirtualDevice: false |
|
|
|
|
|
|
|
springdoc: |
|
|
|
api-docs: |
|
|
|
path: /doc/api-docs |
|
|
|
enabled: true |
|
|
|
swagger-ui: |
|
|
|
enabled: true # 开启swagger界面,依赖OpenApi,需要OpenApi同时开启 |
|
|
|
path: /doc/apitest.html # 自定义路径,默认为"/swagger-ui/index.html |
|
|
|
operationsSorter: method # 接口按照方法排序 |