sync: 对齐小程序 v1.0.2 生产代码并脱敏

This commit is contained in:
MiFaZhan
2026-10-29 15:15:12 +08:00
parent a7abd476f0
commit 5fcf74deb0
423 changed files with 15001 additions and 6382 deletions
+16 -5
View File
@@ -1,7 +1,7 @@
# config_default.yaml 配置文件
# @Link https://github.com/xiujiecn/xiu-admin
# @Copyright Copyright (c) 2025 LiXiujie
# @Author Lxj <li@xiujie.cn>
# @Author Lxj <li@example.com>
# @License https://github.com/xiujiecn/xiu-admin/blob/master/LICENSE
# 系统配置
system:
@@ -12,6 +12,7 @@ system:
upload:
local:
path: "resource/upload"
publicUrl: ""
# 服务配置
server:
# 基本配置
@@ -69,10 +70,15 @@ register:
url: "http://127.0.0.1:11190/api/v1/sms/send"
method: "POST"
headers: {}
bodyTemplate: '{"config":{"serviceType":"1","regionId":"cn-hangzhou","accessKeyId":"","accessKeySecret":"","signName":"","templateId":""},"params":{"phoneNumber":"{contact}","msgContent":"{\"code\":\"{code}\"}"}}'
bodyTemplate: '{"config":{"scene":"{scene}"},"params":{"phoneNumber":"{contact}","msgContent":"{code}"}}'
successStatus: 200
database:
legacyCard:
link: "${LEGACY_CARD_DSN}" # Optional read-only legacy database
debug: false
maxOpen: 5
maxIdle: 2
logger:
path: "resource/log/server/sql"
level: "all"
@@ -149,8 +155,8 @@ appCardRecognition:
provider: "openai-compatible"
baseUrl: "https://xueyangai.com/v1"
endpoint: ""
model: "qwen3.7-flash"
apiKey: "sk-nAhIIyqOn7JvQp1ti8o24GcBLgWqBUFKBaDTwAmFYZm0Hycy"
model: "qwen3.7-plus"
apiKey: "${AI_API_KEY}"
timeout: "25s"
maxImageBytes: 8388608
maxTokens: 256
@@ -160,7 +166,7 @@ appCardRecognition:
period: "1m"
appWarning:
wechatSubscribeTemplateId: "DMDP2PKktdtG1ES_3Ic1JcR0LGELQmWE6LunYyerHCY"
wechatSubscribeTemplateId: "${WECHAT_SUBSCRIBE_TEMPLATE_ID}"
appBusinessAsync:
enabled: false
@@ -169,11 +175,15 @@ appBusinessAsync:
failOnPublish: false
upstream:
appDiagnosisToken: "${APP_DIAGNOSIS_TOKEN}"
provider: "onelink_mock"
default:
# 正式环境建议配置为上游代理 HTTP 服务名,例如 iotlcmupstreamproxy-http-svc:8510
clientName: ""
timeout: 10s
gateway:
clientName: "${UPSTREAM_GATEWAY_ADDR}"
timeout: 10s
onelinkMock:
enabled: false
baseUrl: "https://iotlcm.example.com/onelink-mock/v5"
@@ -215,6 +225,7 @@ router:
- /api/v1/auth/sms
- /api/v1/auth/register
- /api/v1/auth/login
- /api/v1/auth/phone-login
- /api/v1/auth/wechat-login
- /api/v1/auth/wechat-bind-phone
- /api/v1/auth/forgot-password