curl --location --request POST 'http://127.0.0.1:7071/app/updateConfig' \
--header 'Content-Type: application/json' \
--data-raw '{
"config": {
// 查看 获取的 config 参数配置
"nickName": "sv-print"
},
"refreshConfig": {
// 是否重启 socket 服务 (修改了port端口, token配置)
"socket": false,
// 是否重连 云服务(中转服务) (修改了云服务相关配置)
"cloud": false,
// 是否重启 打印/渲染窗口 (修改了渲染页参数时)
"printer": false,
}
}'
{}