2023-10-09 16:53:29 +08:00
|
|
|
|
server.port=5567
|
2023-01-06 15:17:37 +08:00
|
|
|
|
|
|
|
|
|
|
#datasource
|
|
|
|
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
2023-07-21 10:27:18 +08:00
|
|
|
|
spring.datasource.url=jdbc:mysql://18.167.251.121:33006/aida?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
2023-07-25 17:57:37 +08:00
|
|
|
|
spring.datasource.username=root
|
|
|
|
|
|
spring.datasource.password=root
|
2023-01-06 15:17:37 +08:00
|
|
|
|
|
|
|
|
|
|
#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,\
|
2023-09-20 16:52:46 +08:00
|
|
|
|
/api/account/**,/api/element/**,/api/python/**,/api/design/**,/api/history/**,/api/library/**,/api/third/party/**,/api/generate/**,/api/workspace/**
|
2023-01-06 15:17:37 +08:00
|
|
|
|
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
|
2023-09-20 16:52:46 +08:00
|
|
|
|
mybatis-plus.global-config.db-config.logic-delete-field=isDeleted
|
|
|
|
|
|
mybatis-plus.global-config.db-config.logic-delete-value=1
|
|
|
|
|
|
mybatis-plus.global-config.db-config.logic-not-delete-value=0
|
2023-01-06 15:17:37 +08:00
|
|
|
|
|
|
|
|
|
|
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
|
|
|
|
|
|
|
|
|
|
|
|
file.mac.path=~/file/
|
|
|
|
|
|
file.linux.path=/workspace/home/aida/file/
|
|
|
|
|
|
#linux服务器域名(预览和下载用)
|
2023-08-17 10:49:23 +08:00
|
|
|
|
#file.linuxDomain=http://18.162.111.141:5568/download/
|
2023-09-08 13:07:40 +08:00
|
|
|
|
#file.linuxDomain=http://18.167.251.121:5568/download/
|
|
|
|
|
|
file.linuxDomain=https://www.aida.com.hk/download/
|
2023-01-06 15:17:37 +08:00
|
|
|
|
file.windows.path=D:\\upload\\
|
|
|
|
|
|
|
|
|
|
|
|
spring.servlet.multipart.max-file-size = 5MB
|
|
|
|
|
|
spring.servlet.multipart.max-request-size= 5MB
|
|
|
|
|
|
|
|
|
|
|
|
#访问python服务的ip(对应环境)
|
2023-10-09 10:26:10 +08:00
|
|
|
|
#access.python.ip=http://43.198.80.117
|
|
|
|
|
|
access.python.ip=http://18.167.251.121
|
|
|
|
|
|
#access.python.ip=http://18.167.251.121:9991/
|
2023-01-06 15:17:37 +08:00
|
|
|
|
|
2023-09-18 11:31:26 +08:00
|
|
|
|
# minIO服务配置之信息
|
|
|
|
|
|
minio.endpoint=http://18.167.251.121:9000
|
|
|
|
|
|
minio.accessKey=minioadmin
|
|
|
|
|
|
minio.secretKey=minioadmin
|
2023-09-20 16:52:46 +08:00
|
|
|
|
minio.bucketName.clothing=aida-clothing
|
|
|
|
|
|
minio.bucketName.mannequins=aida-mannequins
|
|
|
|
|
|
minio.bucketName.results=aida-results
|
|
|
|
|
|
minio.bucketName.sysImage=aida-sys-image
|
|
|
|
|
|
minio.bucketName.users=aida-users
|
2023-09-18 11:31:26 +08:00
|
|
|
|
|
2023-01-06 15:17:37 +08:00
|
|
|
|
|
|
|
|
|
|
|