fix: C 端设备局域网地址为空时默认 192.168.1.1

网关常不返回设备 lan_ip,H5 点后台管理时提示设备未开机;为空时回落到设备默认网关地址。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
邹进
2026-11-03 11:15:28 +09:00
parent b3f66a01a8
commit ce2977ce22
3 changed files with 53 additions and 1 deletions

View File

@@ -0,0 +1,4 @@
package constants
// DefaultDeviceLANIP 网关未返回设备局域网网关地址时 C 端使用的默认值(设备出厂默认网关)。
const DefaultDeviceLANIP = "192.168.1.1"