bugfix ebike auto register fallback

This commit is contained in:
Guoqs
2026-06-13 10:36:46 +08:00
parent d569f70315
commit d7e8562f42
6 changed files with 564 additions and 46 deletions

View File

@@ -103,6 +103,17 @@ pagehelper:
supportMethodsArguments: true
params: count=countSql
# 电单车自动建档配置
ebike:
auto-register:
# 设备未上报注册包时允许通过0x21心跳兜底创建桩和端口基础数据
enabled: true
# 默认归属信息建议配置为“待配置设备”运营商/站点,后续由后台人工调整
merchant-id: 1
station-id: 2
# 必须按环境配置为有效的电单车型号ID0表示未配置仍会创建基础数据但详情查询可能受影响
model-id: 0
# 防止XSS攻击
xss:
# 过滤开关
@@ -202,4 +213,4 @@ sms:
# 是否启用代理 默认关闭 需手动开启
enable: false
host: 127.0.0.1
port: 8080
port: 8080