dedc3b4183
- Full FastAPI backend with JWT auth, file management, processing pipeline, memory CRUD, barcode mappings, config management, cloud sync - Vue 3 + Element Plus frontend with dashboard, task history, HTTP logs, memory editor, barcode editor, config editor, sync page - HTTP request logging middleware with SQLite persistence - Task history tracking with progress and retry support - File metadata recording for upload/download operations - WebAuth section in config.ini for bcrypt password storage - Bug fix: logs.py count query returns tuple not dict Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
49 lines
1.1 KiB
INI
49 lines
1.1 KiB
INI
[API]
|
|
api_key =
|
|
secret_key =
|
|
timeout = 30
|
|
max_retries = 3
|
|
retry_delay = 2
|
|
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
|
|
|
|
[Paths]
|
|
input_folder = data/input
|
|
output_folder = data/output
|
|
temp_folder = data/temp
|
|
template_folder = templates
|
|
template_file = templates\银豹-采购单模板.xls
|
|
processed_record = data/processed_files.json
|
|
data_dir = data
|
|
product_db = data/product_cache.db
|
|
result_folder = data/result
|
|
|
|
[Performance]
|
|
max_workers = 4
|
|
batch_size = 5
|
|
skip_existing = true
|
|
|
|
[File]
|
|
allowed_extensions = .jpg,.jpeg,.png,.bmp
|
|
excel_extension = .xlsx
|
|
max_file_size_mb = 4
|
|
|
|
[Templates]
|
|
purchase_order = 银豹-采购单模板.xls
|
|
item_data = 商品资料.xlsx
|
|
|
|
[App]
|
|
version = 2026.05.05.0239
|
|
|
|
[Gitea]
|
|
base_url = https://gitea.94kan.cn
|
|
owner = houhuan
|
|
repo = yixuan-sync-data
|
|
token = 50b61e43a141d606ae2529cd1755bc666d800e08
|
|
|
|
[WebAuth]
|
|
username = admin
|
|
password_hash = $2b$12$nllT8o1QIMfWKuTlpQI3G./E2NS.gqf0EHZyNkJ8gMpVa9grTXRoC
|
|
|