feat: publish workphone SDK deployment and API docs
This commit is contained in:
14
sdk/agent/config.json.example
Normal file
14
sdk/agent/config.json.example
Normal file
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"_说明": "设备端Agent配置文件 — 复制为 config.json 后修改",
|
||||
"_优先级": "环境变量 > 命令行参数 > config.json > 默认值",
|
||||
|
||||
"device_id": "",
|
||||
"server_url": "ws://192.168.1.100:8899/ws/device",
|
||||
"heartbeat_interval": 10,
|
||||
"project_id": "cunkebao",
|
||||
|
||||
"_device_id说明": "留空则自动检测(getprop ro.serialno / ANDROID_SERIAL / 时间戳)",
|
||||
"_server_url说明": "SDK服务器WebSocket基础地址,程序自动拼接 /<device_id>",
|
||||
"_heartbeat说明": "心跳间隔(秒),建议 5/10/30,服务端可动态下发覆盖",
|
||||
"_project_id说明": "项目ID,用于服务端分组管理"
|
||||
}
|
||||
Reference in New Issue
Block a user