fix: C 端设备局域网地址为空时默认 192.168.1.1
网关常不返回设备 lan_ip,H5 点后台管理时提示设备未开机;为空时回落到设备默认网关地址。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
4
pkg/constants/device_network.go
Normal file
4
pkg/constants/device_network.go
Normal file
@@ -0,0 +1,4 @@
|
||||
package constants
|
||||
|
||||
// DefaultDeviceLANIP 网关未返回设备局域网网关地址时 C 端使用的默认值(设备出厂默认网关)。
|
||||
const DefaultDeviceLANIP = "192.168.1.1"
|
||||
Reference in New Issue
Block a user