feat(business): add Kingdee sales order API sync
Implement private Kingdee config generation, token login/refresh caching, paginated sales order fetching, official response-field normalization, and CLI filters for deterministic business fact sync. Update docs to keep credentials in .runtime and cover dry-run auth. Validation: python3 -m unittest discover -v; python3 -m compileall obsidian_wiki tests; git diff --check.
This commit is contained in:
@@ -28,6 +28,14 @@ OBSIDIAN_SOURCE_CATALOG_DIR=_sources/catalog
|
||||
# SQLite source-file locator. Leave empty to use _meta/file-assets.sqlite.
|
||||
OBSIDIAN_FILE_ASSET_DB=
|
||||
|
||||
# --- Business Facts / Kingdee Sales Orders (optional) ---
|
||||
#
|
||||
# Exact operational statistics use <vault>/_meta/business-facts.sqlite.
|
||||
# Run `obsidian-wiki business config kingdee` to create the local private
|
||||
# .runtime/kingdee.env file for real Kingdee credentials and token settings.
|
||||
# Do not put real app secrets or access tokens in this example file.
|
||||
OBSIDIAN_BUSINESS_FACTS_DB=
|
||||
|
||||
# --- Source File MCP Server (optional) ---
|
||||
#
|
||||
# Run with: obsidian-wiki-mcp
|
||||
|
||||
Reference in New Issue
Block a user