Update: Refactor to absolute imports, fix QPS limits, and enhance Gitea sync with SQLite support

This commit is contained in:
2026-07-21 10:25:29 +08:00
parent ef04fc5627
commit 97d9d98b4c
67 changed files with 1691 additions and 457 deletions
+8 -7
View File
@@ -1,9 +1,9 @@
[API]
api_key = kIehdWbbVD85K18qZYz6SeUf
secret_key = RCXTgmVjJJkNNMhfY5ASab0xY3mvF6d7
api_key = yBU35EDIZ2ITLRk1MnFBN1tv
secret_key = 7L0VEOIcqHhaqzZec5LXsHGzJhgFivMr
timeout = 30
max_retries = 3
retry_delay = 2
max_retries = 5
retry_delay = 1
api_url = https://aip.baidubce.com/rest/2.0/ocr/v1/table
token_url = https://aip.baidubce.com/oauth/2.0/token
form_ocr_url = https://aip.baidubce.com/rest/2.0/solution/v1/form_ocr/get_request_result
@@ -14,7 +14,7 @@ input_folder = data/input
output_folder = data/output
temp_folder = data/temp
template_folder = templates
template_file = templates/银豹-采购单模板.xls
template_file = templates\银豹-采购单模板.xls
processed_record = data/processed_files.json
data_dir = data
product_db = data/product_cache.db
@@ -35,14 +35,15 @@ purchase_order = 银豹-采购单模板.xls
item_data = 商品资料.xlsx
[App]
version = 2026.07.19.1947
version = 2026.07.20.2105
[Gitea]
base_url = https://gitea.94kan.cn
owner = houhuan
repo = yixuan-sync-data
token =
token = 50b61e43a141d606ae2529cd1755bc666d800e08
[WebAuth]
username = admin
password_hash = $2b$12$nllT8o1QIMfWKuTlpQI3G./E2NS.gqf0EHZyNkJ8gMpVa9grTXRoC