2024-02-20 11:05:01 +08:00
|
|
|
|
server.port=5567
|
2024-02-20 10:12:44 +08:00
|
|
|
|
|
|
|
|
|
|
spring.datasource.primary.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
spring.datasource.primary.jdbcUrl=jdbc:mysql://18.167.251.121:33008/aida?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
|
|
|
|
|
spring.datasource.primary.username=aida_con
|
|
|
|
|
|
spring.datasource.primary.password=123456
|
|
|
|
|
|
|
|
|
|
|
|
spring.datasource.secondary.driver-class-name=com.mysql.cj.jdbc.Driver
|
2024-02-22 13:38:07 +08:00
|
|
|
|
spring.datasource.secondary.jdbcUrl=jdbc:mysql://18.167.251.121:33008/attribute_retrieval_new?useUnicode=true&characterEncoding=UTF-8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
2024-02-20 10:12:44 +08:00
|
|
|
|
spring.datasource.secondary.username=aida_con
|
|
|
|
|
|
spring.datasource.secondary.password=123456
|
|
|
|
|
|
|
2023-09-06 13:53:15 +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,\
|
2024-02-14 12:37:57 +08:00
|
|
|
|
/api/account/**,/api/element/**,/api/python/**,/api/design/**,/api/history/**,/api/library/**,/api/third/party/**,/api/generate/**,/api/workspace/**,/api/classification/**,\
|
2024-03-26 14:58:43 +08:00
|
|
|
|
/api/product/**,/api/ali-pay/**,/api/order-info/**,/api/paypal/**,/api/credits/**,/api/inquiry/**,/api/tasks/**,/api/python/prepareForSR
|
2023-09-06 13:53:15 +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
|
2024-02-20 10:12:44 +08:00
|
|
|
|
mybatis-plus.mapper-locations=classpath:mapper/*/*.xml
|
2024-01-29 11:10:00 +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-09-06 13:53:15 +08:00
|
|
|
|
|
|
|
|
|
|
spring.mvc.pathmatch.matching-strategy=ant_path_matcher
|
|
|
|
|
|
|
|
|
|
|
|
file.mac.path=~/file/
|
|
|
|
|
|
file.linux.path=/workspace/home/aida/file/
|
|
|
|
|
|
#linux服务器域名(预览和下载用)
|
2024-01-29 11:10:00 +08:00
|
|
|
|
file.linuxDomain=https://www.aida.com.hk/download/
|
2023-09-06 13:53:15 +08:00
|
|
|
|
file.windows.path=D:\\upload\\
|
2024-01-29 11:10:00 +08:00
|
|
|
|
spring.servlet.multipart.max-file-size = 10MB
|
|
|
|
|
|
spring.servlet.multipart.max-request-size= 10MB
|
2023-09-06 13:53:15 +08:00
|
|
|
|
#访问python服务的ip(对应环境)
|
2024-01-29 11:10:00 +08:00
|
|
|
|
access.python.ip=http://18.167.251.121
|
2024-02-20 10:12:44 +08:00
|
|
|
|
access.python.port=9992
|
2024-03-26 14:58:43 +08:00
|
|
|
|
access.python.sr=http://18.167.251.121:9994
|
2023-09-06 13:53:15 +08:00
|
|
|
|
|
2024-01-29 11:10:00 +08:00
|
|
|
|
minio.endpoint=https://www.minio.aida.com.hk:9000
|
|
|
|
|
|
minio.accessKey=admin
|
|
|
|
|
|
minio.secretKey=admin123
|
|
|
|
|
|
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
|
|
|
|
|
|
minio.bucketName.collectionElement=aida-collection-element
|
|
|
|
|
|
redirect_url=http://18.167.251.121:7788
|
2023-09-06 13:53:15 +08:00
|
|
|
|
|
2024-01-29 11:10:00 +08:00
|
|
|
|
spring.rabbitmq.host=18.167.251.121
|
|
|
|
|
|
spring.rabbitmq.port=5672
|
|
|
|
|
|
spring.rabbitmq.username=rabbit
|
|
|
|
|
|
spring.rabbitmq.password=123456
|
|
|
|
|
|
spring.rabbitmq.virtual-host=/
|
2023-09-06 13:53:15 +08:00
|
|
|
|
|
2024-01-29 11:10:00 +08:00
|
|
|
|
spring.redis.host=172.31.11.32
|
|
|
|
|
|
#spring.redis.host=18.167.251.121
|
|
|
|
|
|
spring.redis.port=6379
|
|
|
|
|
|
spring.redis.database=1
|
|
|
|
|
|
spring.redis.password=Aidlab
|
|
|
|
|
|
spring.redis.lettuce.pool.max-active=8
|
|
|
|
|
|
spring.redis.lettuce.pool.max-idle=8
|
|
|
|
|
|
spring.redis.lettuce.pool.min-idle=0
|
|
|
|
|
|
spring.redis.lettuce.pool.max-wait=5
|
2023-09-06 13:53:15 +08:00
|
|
|
|
|
2024-03-26 14:58:43 +08:00
|
|
|
|
redis.key.orderForGenerate=OrderForGenerate
|
|
|
|
|
|
redis.key.generateCancelSet=GenerateCancelSet
|
|
|
|
|
|
redis.key.generateExceptionMap=GenerateExceptionMap
|
|
|
|
|
|
redis.key.resultMap=ResultMap
|
|
|
|
|
|
redis.key.orderForSR=OrderForSR
|
|
|
|
|
|
redis.key.SRCancelSet=SRCancelSet
|
|
|
|
|
|
redis.key.SRExceptionMap=SRExceptionMap
|
|
|
|
|
|
redis.key.taskList=TaskList
|