package.xml文件:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<parameter>
<connect_time>30</connect_time>
<file_path>/root/LOG/</file_path>
<file_size>30</file_size>
<file_send_fail>30</file_send_fail>
<local_ip>192.168.93.131</local_ip>
<server_ip>172.16.0.32</server_ip>
<info_port>10000</info_port>
<file_port>12000</file_port>
<redis_server>172.16.0.24</redis_server>
<redis_port>6379</redis_port>
</parameter>
</root>
package.json文件:
{
"root": {
"parameter": {
"connect_time": [
"30"
],
"file_path": [
"/root/LOG"
],
"file_size": [
"30"
],
"file_send_fail": [
"30"
],
"local_ip":[
"192.168.93.131"
],
"server_ip": [
"172.16.0.32"
],
"info_port": [
"10000"
],
"file_port": [
"12000"
],
"redis_server": [
"172.16.0.24"
],
"connect_time": [
"6379"
]
}
}
}