50 lines
1.1 KiB
YAML
50 lines
1.1 KiB
YAML
|
|
server:
|
||
|
|
port: 8080
|
||
|
|
|
||
|
|
spring:
|
||
|
|
datasource:
|
||
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||
|
|
url: jdbc:mysql://host.docker.internal:3316/wecom_robot?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
||
|
|
username: root
|
||
|
|
password: jiong1114
|
||
|
|
redis:
|
||
|
|
host: host.docker.internal
|
||
|
|
port: 6379
|
||
|
|
password: jiong1114
|
||
|
|
database: 0
|
||
|
|
timeout: 10000
|
||
|
|
lettuce:
|
||
|
|
pool:
|
||
|
|
max-active: 16
|
||
|
|
max-wait: -1
|
||
|
|
max-idle: 8
|
||
|
|
min-idle: 2
|
||
|
|
|
||
|
|
mybatis-plus:
|
||
|
|
configuration:
|
||
|
|
log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
|
||
|
|
|
||
|
|
wecom:
|
||
|
|
corp-id: ww29e81e73b1f4c6fd
|
||
|
|
agent-id: 1000006
|
||
|
|
secret: vltAfKVAH1bqo6WjB99rJaH6iQSXDyx3uf3hbbA8F-M
|
||
|
|
token: 2wuT6pE
|
||
|
|
encoding-aes-key: l0boKM2eqcGT3xV2O03y6VXx9U5l25u0tWQsgF3aNPT
|
||
|
|
|
||
|
|
ai:
|
||
|
|
enabled: true
|
||
|
|
provider: deepseek
|
||
|
|
deepseek:
|
||
|
|
api-key: sk-6cdd32d6d49d4d399b479d99e02d1672
|
||
|
|
base-url: https://api.deepseek.com/v1
|
||
|
|
model: deepseek-chat
|
||
|
|
openai:
|
||
|
|
api-key: your_openai_api_key
|
||
|
|
base-url: https://api.openai.com/v1
|
||
|
|
model: gpt-3.5-turbo
|
||
|
|
|
||
|
|
logging:
|
||
|
|
level:
|
||
|
|
com.wecom.robot: info
|
||
|
|
org.springframework.web: warn
|