131 lines
4.2 KiB
YAML
Raw Normal View History

2026-06-11 11:37:38 +08:00
server:
2026-06-01 19:50:54 +08:00
port: 8880
2026-07-31 16:29:10 +08:00
forward-headers-strategy: framework
2026-06-01 19:09:40 +08:00
spring:
application:
name: agent-foundation
2026-06-02 18:57:04 +08:00
datasource:
2026-06-12 09:56:34 +08:00
url: jdbc:mysql://8.153.108.90:3306/agent_foundation?useUnicode=true&characterEncoding=utf8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&useSSL=false
2026-06-12 10:21:54 +08:00
username: root
2026-06-11 11:44:00 +08:00
password: "yd708090"
2026-06-12 09:56:34 +08:00
driver-class-name: com.mysql.cj.jdbc.Driver
2026-06-02 18:57:04 +08:00
hikari:
maximum-pool-size: 5
minimum-idle: 1
connection-timeout: 30000
2026-06-01 19:09:40 +08:00
management:
endpoints:
web:
exposure:
2026-06-12 17:28:47 +08:00
include: health,info,metrics,mappings
2026-06-01 19:09:40 +08:00
foundation:
auth:
keys:
crm-assistant: crm-dev-key
kb-assistant: kb-dev-key
cs-assistant: cs-dev-key
model-router:
default-model: deepseek-chat
route-by-agent:
crm-assistant: deepseek-chat
kb-assistant: deepseek-chat
cs-assistant: deepseek-chat
deepseek:
base-url: https://api.deepseek.com
chat-path: /chat/completions
2026-06-11 11:44:00 +08:00
api-key: sk-b008441047f24558bd4e4cea817206c3
2026-06-01 19:09:40 +08:00
read-timeout-ms: 60000
max-retries: 2
2026-07-13 17:17:55 +08:00
coze:
base-url: https://api.coze.cn
chat-path: /v1/workflows/chat
2026-07-31 17:11:19 +08:00
api-key: cztei_ltE7Q8NDyJq6v4f6yUg5s9oMYfzwC4d25vj70j9FoLLJbQneDXi8pw7uBoqXLeV8x
2026-07-13 17:17:55 +08:00
default-workflow: wecom-default
workflows:
wecom-default:
workflow-id: "7661923520095862811"
app-id: "7661851003527954473"
parameters: {}
read-timeout-ms: 60000
max-retries: 2
2026-06-01 19:09:40 +08:00
wecom:
enabled: true
2026-07-31 13:47:10 +08:00
corp-id: ww11a329ca8ee0c40e
2026-07-21 13:21:48 +08:00
default-app: general
2026-07-21 16:13:17 +08:00
student-contact-app: sports-venue
student-contact-secret: ${WECOM_STUDENT_CONTACT_SECRET:}
2026-06-11 11:44:00 +08:00
token: crmAgentToken2026
encoding-aes-key: k3F8mN2vQ7xLp9sTd4YwH6cRb1JuEz5AaZq7BnVcK2D
2026-07-21 13:21:48 +08:00
apps:
general:
name: 问答小助手
2026-07-31 13:47:10 +08:00
agent-id: 1000002
secret: 8tnH50ISscWBhQbxSzjRrA6XT2oJBUvEdEpY77hmEK4
2026-07-31 16:07:13 +08:00
#callback-path: /v1/integrations/wecom/callback
callback-path: /v1/integrations/wecom/sports-venue/callback
2026-07-21 13:21:48 +08:00
sports-venue:
name: 运动馆智能助手
2026-07-31 15:35:59 +08:00
agent-id: 1000002
secret: 8tnH50ISscWBhQbxSzjRrA6XT2oJBUvEdEpY77hmEK4
2026-07-31 16:01:50 +08:00
#callback-path: /v1/integrations/wecom/sports-venue/callback
callback-path: /v1/integrations/wecom/callback
2026-07-21 14:12:59 +08:00
admin-user-ids:
2026-07-31 15:35:59 +08:00
- TangLong
2026-07-21 14:12:59 +08:00
- TangLong
- ChenWenJie
- XieChangLei
- ZhangYunYun
2026-07-22 12:15:50 +08:00
# 测试期间同步接收每次学员运营预警;验证完成后可删除此项。
alert-copy-user-ids:
2026-07-31 15:35:59 +08:00
- TangLong
2026-07-22 09:01:18 +08:00
xuebang:
enabled: true
base-url: http://api.xuebangsoft.net
client-id: "6107"
key-code: COMMON
client-secret: "RkDSYCNXD0eBF09ofNfxWMmSZzIWF9QzGWu8GUKAUH5d1sQeXE6JxfScDGFx2Q5EisYRL7IZqij56CqbICeI9pC/EbSdNh8QRgV00S+e6sYbmQImMcRipLsH1t/Bnr1pKRwSBIcj8y8UQThyVT1Ve4Zl/p4J295J4rbLcSo29W0="
2026-07-22 11:58:45 +08:00
page-size: 5000
2026-07-22 09:01:18 +08:00
max-pages: 1000
2026-07-22 11:58:45 +08:00
max-response-bytes: 52428800
2026-07-22 09:01:18 +08:00
connect-timeout-ms: 10000
read-timeout-ms: 60000
max-retries: 2
report-cache-seconds: 180
2026-07-28 15:03:21 +08:00
ec:
enabled: true
base-url: https://open.workec.com
corp-id: 21620591
app-id: "1305856248515657728"
app-secret: "OUs38Bc0fxioDCTgBFv"
page-size: 200
max-pages: 1000
effective-call-seconds: 60
connect-timeout-ms: 10000
read-timeout-ms: 60000
max-response-bytes: 10485760
# 可按公司合规规范继续增加,日报会在 EC AI 转写文本中逐项匹配。
sensitive-words:
- 保证效果
- 百分之百
- 绝对有效
- 无条件退款
- 私下转账
2026-07-21 13:00:02 +08:00
semantic:
agent-id: crm-assistant
minimum-confidence: 0.60
2026-07-13 17:31:50 +08:00
# wecom:
# enabled: true
# corp-id: ww11a329ca8ee0c40e
# agent-id: 1000002
# secret: 8tnH50ISscWBhQbxSzjRrA6XT2oJBUvEdEpY77hmEK4
# student-contact-secret: 8tnH50ISscWBhQbxSzjRrA6XT2oJBUvEdEpY77hmEK4
# token: crmAgentToken2026
# encoding-aes-key: k3F8mN2vQ7xLp9sTd4YwH6cRb1JuEz5AaZq7BnVcK2D
# callback-path: /v1/integrations/wecom/callback
2026-06-12 17:28:47 +08:00
mini-program:
datasource:
url: jdbc:sqlserver://rm-uf64b8oxdt19pfyxfao.sqlserver.rds.aliyuncs.com:1433;databaseName=YD_WeChatAppletDB_QA;encrypt=true;trustServerCertificate=true;loginTimeout=500
username: qa
password: "Admin@123"
driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver