关联默认客户账号与当前本地订单范围

This commit is contained in:
2026-10-30 18:46:03 +08:00
parent fef233344b
commit d26f6ecfd3
10 changed files with 170 additions and 37 deletions
+3 -1
View File
@@ -8,8 +8,10 @@ ORDER_DATA_TENANT_ID=
# Default front-end customer account: admin / 123456. It grants no staff access.
CUSTOMER_DEMO_ENABLED=true
CUSTOMER_DEMO_USERNAME=admin
# Bind an explicit local order tenant. Empty auto-binds only if the dataset has one tenant.
# Bind one explicit tenant, or leave empty to use the current local dataset grants.
CUSTOMER_DEMO_TENANT_ID=
# On initial association, grant the default account the tenants currently in the local table.
CUSTOMER_DEMO_LOCAL_ORDERS=true
# Optional password hash used only when creating the default account; not plaintext.
# CUSTOMER_DEMO_PASSWORD_HASH=
# Short-recording ASR is independent of DEEPSEEK_API_KEY. No credentials = voice input unavailable.