feat: enable configured multitable synchronization

This commit is contained in:
Eric 1549169735@qq.com
2026-08-19 22:19:51 +08:00
parent 1e3434d76e
commit 11ae6761ad
5 changed files with 51 additions and 38 deletions

View File

@@ -3,9 +3,38 @@ app:
server:
host: 0.0.0.0
database:
host: taosuvet.rwlb.rds.aliyuncs.com
port: 3306
user: taosuvet_root
password: Yong!!!2030
name: iqudo_top1
max_idle_connections: 20
max_open_connections: 100
auth:
jwt_secret: random-1234567890-zyxwvu-tsrpml210
access_token_ttl: 2h
refresh_token_ttl: 168h
seed:
admin_username: ""
admin_password: ""
admin_display_name: ""
multitable:
enabled: true
base_url: https://table.iwork-ai.com/open/v1
api_key: iqd_6dd7293ce4d50f02949fe35bea669a0b156a4143f11ed5525aafe76e2c089685
sync_interval: 5s
request_timeout: 10s
batch_size: 20
max_attempts: 12
tables:
scenarios: 46
scenario_fields: 47
scenario_rules: 63
sop_versions: 48
sop_nodes: 49
sop_edges: 50
knowledge_items: 64
knowledge_relations: 65
knowledge_versions: 51
runs: 52
feedback: 53

View File

@@ -25,22 +25,22 @@ seed:
admin_password: admin123
admin_display_name: 平台管理员
multitable:
enabled: false
enabled: true
base_url: https://table.iwork-ai.com/open/v1
api_key: ""
api_key: iqd_6dd7293ce4d50f02949fe35bea669a0b156a4143f11ed5525aafe76e2c089685
sync_interval: 5s
request_timeout: 10s
batch_size: 20
max_attempts: 12
tables:
scenarios: 0
scenario_fields: 0
scenario_rules: 0
sop_versions: 0
sop_nodes: 0
sop_edges: 0
knowledge_items: 0
knowledge_relations: 0
knowledge_versions: 0
runs: 0
feedback: 0
scenarios: 46
scenario_fields: 47
scenario_rules: 63
sop_versions: 48
sop_nodes: 49
sop_edges: 50
knowledge_items: 64
knowledge_relations: 65
knowledge_versions: 51
runs: 52
feedback: 53