| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127 |
- spring:
- jackson:
- deserialization:
- fail-on-unknown-properties: true
- datasource:
- driver-class-name: com.mysql.cj.jdbc.Driver
- username: root
- password: eai123456
- url: jdbc:mysql://8.130.28.19:3306/eai?useSSL=false&serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&allowPublicKeyRetrieval=true
- hikari:
- maximum-pool-size: 30
- minimum-idle: 10
- connection-timeout: 10000
- validation-timeout: 3000
- idle-timeout: 600000
- # Keep maxLifetime shorter than MySQL wait_timeout to avoid stale pooled connections.
- max-lifetime: 240000
- keepalive-time: 120000
- leak-detection-threshold: 30000
- # url: jdbc:mysql://127.0.0.1:3306/eai?useSSL=false&serverTimezone=UTC&useUnicode=true&characterEncoding=utf8&allowPublicKeyRetrieval=true
- data:
- mongodb:
- uri: mongodb://admin:eai123456@8.130.28.19:27017/eai?authSource=admin
- authentication-database: admin
- auto-index-creation: true
- #redis配置更新
- redis:
- host: 8.130.28.19
- port: 6378
- password: eai123456
- mail:
- host: smtp.163.com
- port: 25
- username: seecoder2022@163.com # Seecoder的公共邮箱
- password: WEIHUIOOJYUFMZGV # 邮箱开启stmp的秘钥
- default-encoding: UTF-8
- servlet:
- multipart:
- # 单个文件最大大小
- max-file-size: 500MB
- # 所有上传文件最大大小
- max-request-size: 500MB
- mvc:
- async:
- request-timeout: 300000
- # MyBatis配置
- mybatis-plus:
- mapper-locations: classpath:mapper/*.xml
- type-aliases-package: com/njuzr/eaibackend/po
- jwt:
- # jjwt密钥算法HS256,要求secret长度至少是256位
- secret: UenM4KGb6DskRWUenM4KGb6DskRWUenM4KGb6DskRWUenM4KGb6DskRWUenM4KGb6DskRWUenM4KGb6DskRWUenM4KGb6DskRWUenM4KGb6DskRWUenM4KGb6DskRW
- issuer: eai
- expiration: 86400
- portal-sync:
- enabled: true
- throttle-seconds: 60
- # DeepSeek AI 配置
- deepseek:
- api-key: sk-994409a3b69648de8171be819274fc98
- base-url: https://api.deepseek.com/v1
- model: deepseek-chat
- timeout: 60000
- aliyun:
- oss:
- endpoint: oss-cn-shanghai.aliyuncs.com
- accessKeyId: LTAI5tAbkw8rkreiJbfcY1jZ
- accessKeySecret: 2yvtVYE1qAZEgm0ChvdMqhp0LhB5Lj
- bucketName: eai-files
- logging:
- config: classpath:log4j2-dev.xml
- openai:
- chatgpt:
- model: gpt-3.5-turbo
- api:
- key: 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
- config:
- llm:
- ChatGLM3:
- url: http://10.58.0.2:6678
- ChatGLM4:
- url: http://47.94.251.162:6678
- token: seec0der
- modelName: glm4-9b-chat
- QWen14B:
- url: http://10.58.0.2:6679
- PreSentenceWorkflowChatGLM4:
- url: https://dify.seec.seecoder.cn/v1/workflows/run
- token: app-6hPbwfdQdEDZ8c81oh62avyS
- doubao:
- ark:
- api-key: c87a7b2f-33d1-45d5-9a08-d36d2204f05c
- endpoint-id: ep-20251109002134-fcpkl
- xunfei:
- ark:
- app-id: fdf4a5d8
- api-key: 9d44aad124b15562cd36f1c69f907c23
- api-secret: MWZkZTM5ZjMwMGJkNjJkM2NmNjJjMjI3
- proxy:
- enabled: false
- host: 20.111.54.16
- port: 8123
- springdoc:
- api-docs:
- enabled: true
- path: /doc/v3/api-docs
- swagger-ui:
- enabled: true
- path: /doc/swagger/swagger-ui.html
- packagesToScan: com.njuzr.eaibackend.controller
- portal:
- base-url: https://p-nju.seec.seecoder.cn
- batch-register-path: /api/user/register/batch/internal
|