Commit 27ffe3f4 by “liusq”

解决字符串匹配int

parent dd19dfb2
...@@ -442,7 +442,8 @@ vides_data::response*HttpService::httpFindGb28181Config(QString &serialNumber){ ...@@ -442,7 +442,8 @@ vides_data::response*HttpService::httpFindGb28181Config(QString &serialNumber){
response->heartbeat_interval = data["heartbeat_interval"].toInt(); response->heartbeat_interval = data["heartbeat_interval"].toInt();
response->device_id = data["device_id"].toString(); response->device_id = data["device_id"].toString();
response->channel_id = data["channel_id"].toString(); response->channel_id = data["channel_id"].toString();
response->sUdpPort=data["local_port"].toInt(); QString local_port= data["local_port"].toString();
response->sUdpPort=local_port.toInt();
resp->data=response; resp->data=response;
resp->msg=map["message"].toString(); resp->msg=map["message"].toString();
}else{ }else{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment