world_sync/README.md

21 lines
598 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# world_sync 模块
世界数据同步模块管理世界world数据的导入、导出、合并同步记录并提供同步契约接口。
## 功能
- world_sync 表:世界同步记录(同步类型/来源/状态/结果 JSON/同步日期)
- 同步契约接口 api/world_sync.dspy执行同步并落库
- 同步列表 CRUD 界面 + 发起同步表单
## 数据表
- world_syncmodels/world_sync.json
## 依赖
- worldworld 表、appbaseappcodes 字典 sync_type/sync_status
## 挂载
```python
from world_sync.init import load_world_sync
load_world_sync()
```