Files
zyt/server/.env.esign.example
2026-11-20 10:30:04 +08:00

25 lines
1.2 KiB
Bash

# Merge this section into deployment environment configuration; never commit real credentials.
# SDK 3.1.13+ is required for queryWillingnessValidity. Keep this service private.
# Initialize the SDK once per JVM startup. Restart it before changing app or environment.
[ESIGN]
# Enable after deploying the SMS and doctor identity enrollment migrations.
DOCTOR_SMS_ENABLED = false
# Apply the doctor identity and quick-sign migrations. The eSign application must allow reusable authorization.
DOCTOR_QUICKSIGN_ENABLED = false
# Apply the prescription review signing migration before enabling.
REVIEW_ENABLED = false
ENABLED = false
ENVIRONMENT = sandbox
APP_ID =
APP_SECRET =
SDK_URL = http://127.0.0.1:8091/paas-sdk-service
TIMEOUT = 60
# Optional trusted CA bundle for eSign HTTPS calls when PHP has no CA bundle configured.
# CA_FILE = /etc/ssl/certs/ca-certificates.crt
# Sandbox only. A JSON object mapping an authorized doctor account ID to their verified legal name.
# SANDBOX_SIGNER_NAMES = {"123":"测试实名"}
# Match the SDK JVM timezone used for the unzoned signDate field.
# SDK_TIMEZONE = Asia/Shanghai
# Optional private persistent directory; default is server/storage/esign.
# STORAGE_PATH = /srv/zyt-private/esign