48 lines
2.2 KiB
Properties
48 lines
2.2 KiB
Properties
|
|
server.port=7766
|
|||
|
|
|
|||
|
|
#datasource
|
|||
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|||
|
|
#spring.datasource.url=jdbc:mysql://18.167.251.121:33006/aida?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
|||
|
|
spring.datasource.url=jdbc:mysql://localhost:3306/aida?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
|||
|
|
spring.datasource.username=root
|
|||
|
|
spring.datasource.password=root
|
|||
|
|
|
|||
|
|
#security
|
|||
|
|
spring.security.jwtSecret=JWTSECRET
|
|||
|
|
spring.security.jwtTokenHeader=Authorization
|
|||
|
|
spring.security.jwtTokenPrefix=Bearer-
|
|||
|
|
## 24Сʱ
|
|||
|
|
spring.security.jwtExpiration=8640000000
|
|||
|
|
#spring security权限设置 认证了token还要认证权限 不然报错Full authentication is required to access this resource
|
|||
|
|
spring.security.ignorePaths=/,/favicon.ico,/doc.html,/webjars/**,/swagger-resources,/v2/api-docs,\
|
|||
|
|
/api/account/**,/api/element/**,/api/python/**,/api/design/**,/api/history/**,/api/library/**,/api/third/party/**,/api/generate/**
|
|||
|
|
spring.security.authApi=/auth/login
|
|||
|
|
|
|||
|
|
|
|||
|
|
rsa.private_key=MIIBUwIBADANBgkqhkiG9w0BAQEFAASCAT0wggE5AgEAAkEA0vfvyTdGJkdbHkB8mp0f3FE0GYP3AYPaJF7jUd1M0XxFSE2ceK3k2kw20YvQ09NJKk+OMjWQl9WitG9pB6tSCQIDAQABAkA2SimBrWC2/wvauBuYqjCFwLvYiRYqZKThUS3MZlebXJiLB+Ue/gUifAAKIg1avttUZsHBHrop4qfJCwAI0+YRAiEA+W3NK/RaXtnRqmoUUkb59zsZUBLpvZgQPfj1MhyHDz0CIQDYhsAhPJ3mgS64NbUZmGWuuNKp5coY2GIj/zYDMJp6vQIgUueLFXv/eZ1ekgz2Oi67MNCk5jeTF2BurZqNLR3MSmUCIFT3Q6uHMtsB9Eha4u7hS31tj1UWE+D+ADzp59MGnoftAiBeHT7gDMuqeJHPL4b+kC+gzV4FGTfhR9q3tTbklZkD2A==
|
|||
|
|
|
|||
|
|
#mybatis
|
|||
|
|
mybatis-plus.global-config.banner=false
|
|||
|
|
mybatis-plus.mapper-locations=classpath:mapper/*Mapper.xml
|
|||
|
|
#mybatis-plus.configuration.log-impl= org.apache.ibatis.logging.stdout.StdOutImpl
|
|||
|
|
|
|||
|
|
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
|
|||
|
|
|
|||
|
|
file.mac.path=~/file/
|
|||
|
|
file.linux.path=/workspace/home/aida/file/
|
|||
|
|
#linux服务器域名(预览和下载用)
|
|||
|
|
#file.linuxDomain=http://18.162.111.141:5568/download/
|
|||
|
|
file.linuxDomain=http://18.167.251.121:5568/download/
|
|||
|
|
file.windows.path=D:\\upload\\
|
|||
|
|
|
|||
|
|
spring.servlet.multipart.max-file-size = 5MB
|
|||
|
|
spring.servlet.multipart.max-request-size= 5MB
|
|||
|
|
|
|||
|
|
#访问python服务的ip(对应环境)
|
|||
|
|
#access.python.ip=http://18.167.251.121
|
|||
|
|
access.python.ip=http://43.198.80.117
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|