2024-03-27 13:34:36 +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-06-27 15:33:26 +08:00
|
|
|
|
spring.datasource.secondary.jdbcUrl=jdbc:mysql://18.167.251.121:33008/attribute_retrieval_new_style?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-09-06 10:01:28 +08:00
|
|
|
|
/api/product/**,/api/ali-pay/**,/api/order-info/**,/api/paypal/**,/api/credits/**,/api/inquiry/**,/api/tasks/**,/api/python/prepareForSR,/api/alipay-hk/**,/api/portfolio/**,\
|
2025-01-02 17:32:49 +08:00
|
|
|
|
/api/stripe/**,/api/message/**,/api/tags/**,/notification/**,/api/affiliate/**
|
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-06-24 14:33:34 +08:00
|
|
|
|
access.python.port=9994
|
2024-06-18 10:19:56 +08:00
|
|
|
|
access.python.generate_sr_port=9994
|
2024-06-17 17:37:15 +08:00
|
|
|
|
access.python.address=http://18.167.251.121:9994
|
2023-09-06 13:53:15 +08:00
|
|
|
|
|
2024-07-09 10:13:32 +08:00
|
|
|
|
minio.endpoint=https://www.minio.aida.com.hk:12024
|
2024-01-29 11:10:00 +08:00
|
|
|
|
minio.accessKey=admin
|
2024-07-09 10:13:32 +08:00
|
|
|
|
minio.secretKey=Aidlab123123!
|
2024-01-29 11:10:00 +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
|
|
|
|
|
|
minio.bucketName.collectionElement=aida-collection-element
|
2024-05-10 17:17:28 +08:00
|
|
|
|
minio.bucketName.gradient=aida-gradient
|
2024-06-17 09:34:48 +08:00
|
|
|
|
minio.bucketName.modifiedSketch=aida-modified-sketch
|
|
|
|
|
|
minio.bucketName.slogan=aida-slogan
|
2025-02-25 13:03:52 +08:00
|
|
|
|
minio.bucketName.partialDesign=aida-partial-design
|
2024-01-29 11:10:00 +08:00
|
|
|
|
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-06-17 09:43:59 +08:00
|
|
|
|
spring.redis.host=172.31.11.32
|
|
|
|
|
|
#spring.redis.host=18.167.251.121
|
2024-01-29 11:10:00 +08:00
|
|
|
|
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
|
2024-04-18 14:07:20 +08:00
|
|
|
|
redis.key.generateExceptionMap=Generate:Exception
|
2024-03-26 14:58:43 +08:00
|
|
|
|
redis.key.resultMap=ResultMap
|
|
|
|
|
|
redis.key.orderForSR=OrderForSR
|
|
|
|
|
|
redis.key.SRCancelSet=SRCancelSet
|
|
|
|
|
|
redis.key.SRExceptionMap=SRExceptionMap
|
2024-03-28 15:04:31 +08:00
|
|
|
|
redis.key.taskList=TaskList
|
2024-04-18 14:07:20 +08:00
|
|
|
|
redis.key.credits.pre-deduction=Credits:PreDeduction
|
2024-05-31 16:28:23 +08:00
|
|
|
|
redis.key.generateResult=Generate:Result
|
2024-06-12 10:50:05 +08:00
|
|
|
|
redis.key.toProductImageResultKey=ToProductImage:Result
|
2024-06-25 16:43:54 +08:00
|
|
|
|
redis.key.relightResultKey=Relight:Result
|
2024-09-06 10:01:28 +08:00
|
|
|
|
redis.key.newPosted=LastViewNewPostedTime
|
|
|
|
|
|
redis.key.maximumUserId=CodeCreate:MaximumUserId
|
2024-05-31 16:28:23 +08:00
|
|
|
|
|
|
|
|
|
|
aws.s3.accessKeyId=AKIAVD3OJIMF6UJFLSHZ
|
|
|
|
|
|
aws.s3.secretKey=LNIwFFB27/QedtZ+Q/viVUoX9F5x1DbuM8N0DkD8
|
2024-09-27 15:33:20 +08:00
|
|
|
|
aws.s3.regionName=ap-east-1
|
|
|
|
|
|
|
|
|
|
|
|
# RabbitMQ Exchange and Queue configurations
|
2024-09-27 16:24:45 +08:00
|
|
|
|
rabbitmq.queues.generate=generate-queue-dev
|
|
|
|
|
|
rabbitmq.queues.sr=SR-queue-dev
|
|
|
|
|
|
rabbitmq.queues.srResult=SuperResolution-dev
|
|
|
|
|
|
rabbitmq.queues.generateResult=GenerateImage-dev
|
|
|
|
|
|
rabbitmq.queues.toProductImageResult=ToProductImage-dev
|
|
|
|
|
|
rabbitmq.queues.relightResult=Relight-dev
|
2024-12-19 13:56:17 +08:00
|
|
|
|
rabbitmq.exchange.generate=generate-exchange
|
|
|
|
|
|
|
2025-02-19 14:14:20 +08:00
|
|
|
|
orderList.link=https://develop.aida.com.hk/home/homePage?order=
|
|
|
|
|
|
|
|
|
|
|
|
# 0 不发送邮件通知 1 发送邮件通知
|
2025-02-19 17:44:14 +08:00
|
|
|
|
stripe.webhook.fail.reminder=0
|
|
|
|
|
|
# kim test
|
|
|
|
|
|
stripe.paymentMethodConfiguration=pmc_1LywTWH7nPZ8bkrN6FvdCUWG
|