Skip to content

Commit 0998efd

Browse files
committed
update:docment and readme
1 parent 061c173 commit 0998efd

File tree

6 files changed

+77
-3
lines changed

6 files changed

+77
-3
lines changed

CHANGELOG

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
XEngine_APIService V3.5.0.1001
2+
3+
增加:机器信息收集增加服务名字段
4+
增加:机器信息报告查询
5+
增加:RFC的UDP服务端口的STUN协议代码支持
6+
增加:信息报告配置支持
7+
增加:NTP时间同步协议支持
8+
增加:油价查询支持
9+
修改:jsoncpp现在使用子模块方式加载
10+
修改:分离了版本信息从配置文件中
11+
修复:图像扩展名没有处理的问题
12+
13+
added:rfc witch udp port and stun protocol supported
14+
added:query info for report
15+
added:service name for machine
16+
added:info report supported
17+
added:NTP time sync protocol supported
18+
added:oil price query supported
19+
modify:jsoncpp is depend sub module
20+
modify:detach version configure file
21+
fixed:image process ext name is incorrect
22+
======================================================================================
123
XEngine_APIService V3.4.0.1001
224

325
增加:lua脚本心跳协议支持

README.en.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Support privatization deployment, free, safe, open source, controllable
3030
9. Zodiac Constellation
3131
10. Password generator
3232
11. World Time Zones
33-
12. Oil price inquiry (planned)
33+
12. Oil price inquiry
3434
13. Administrative zip code
3535
14. Bank card verification
3636
15. Exchange rate calculation (planned)
@@ -52,6 +52,8 @@ Support privatization deployment, free, safe, open source, controllable
5252
31. Region ID Convert
5353
32. Machine Information Collect
5454
33. heartbeat
55+
34. STUN NAT Protocol
56+
35. NTP Time Sync Protocol
5557

5658
## install
5759

@@ -75,6 +77,11 @@ need to vcpkg configure third-part env.refer vcpkg install guide.after installed
7577
use vs open and compile,suport windows 7sp1 and above
7678
Just Run it
7779

80+
#### sub module
81+
Due to the dependent sub-modules, after you checkout the warehouse, execute the following command in the warehouse directory to pull the sub-modules
82+
git submodule init
83+
git submodule update
84+
7885
#### Linux
7986
ubuntu:sudo apt install sudo apt install liblua5.4-dev libopencv-dev libopencv-contrib-dev libqrencode-dev
8087
centos:compile by self
@@ -213,6 +220,25 @@ Api:http://app.xyry.org:5501/api?function=log&params1=1
213220
"nLogLevel":4
214221
}
215222
```
223+
Oil Query
224+
API:http://app.xyry.org:5501/api?function=oil&addr=四川
225+
```json
226+
{
227+
"code": 0,
228+
"data": {
229+
"dlValue0": 7.9100000000000001,
230+
"dlValue10": 8.3800000000000008,
231+
"dlValue20": 8.6899999999999995,
232+
"dlValue35": 0,
233+
"dlValue92": 8.2799999999999994,
234+
"dlValue95": 8.8499999999999996,
235+
"dlValue98": 9.6199999999999992,
236+
"tszCityStr": "四川",
237+
"tszUPTime": "2024-05-08 14:39:53"
238+
},
239+
"msg": "success"
240+
}
241+
```
216242
## Participate in contribution
217243
I hope you will submit more code to participate in the contribution
218244

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ c c++ interface api service
2929
9. 生肖星座
3030
10. 密码生成器
3131
11. 世界时区
32-
12. 油价查询(计划中)
32+
12. 油价查询
3333
13. 行政邮编
3434
14. 银行卡验证
3535
15. 汇率计算(计划中)
@@ -51,6 +51,8 @@ c c++ interface api service
5151
31. 行政区域ID转换
5252
32. 机器信息收集
5353
33. 心跳处理
54+
34. STUN NAT协议
55+
35. NTP时间同步协议
5456

5557
## 安装教程
5658

@@ -69,6 +71,11 @@ macos执行:./XEngine_LINEnv.sh -i 3
6971
需要MYSQL数据库8.0以上版本.通过CreateDatabase.sql创建表,然后导入剩余的表
7072
修改配置文件里面XSQL里面的数据库配置为你的
7173

74+
#### sub module
75+
由于依赖的子模块,在你checkout仓库后,在仓库目录下执行下面的命令拉取子模块
76+
git submodule init
77+
git submodule update
78+
7279
#### Windows
7380
需要vcpkg配置第三方环境,具体参考vcpkg安装方式,安装好后执行:vcpkg.exe install lua:x86-windows opencv[contrib]:x86-windows libqrencode:x86-windows lua:x64-windows opencv[contrib]:x64-windows libqrencode:x64-windows
7481
使用VS打开并且编译,支持WINDOWS 7SP1以上系统
@@ -214,6 +221,25 @@ make FLAGS=CleanAll 清理编译
214221
"nLogLevel":4
215222
}
216223
```
224+
油价查询
225+
接口:http://app.xyry.org:5501/api?function=oil&addr=四川
226+
```json
227+
{
228+
"code": 0,
229+
"data": {
230+
"dlValue0": 7.9100000000000001,
231+
"dlValue10": 8.3800000000000008,
232+
"dlValue20": 8.6899999999999995,
233+
"dlValue35": 0,
234+
"dlValue92": 8.2799999999999994,
235+
"dlValue95": 8.8499999999999996,
236+
"dlValue98": 9.6199999999999992,
237+
"tszCityStr": "四川",
238+
"tszUPTime": "2024-05-08 14:39:53"
239+
},
240+
"msg": "success"
241+
}
242+
```
217243
## 参与贡献
218244
希望大家多多提交代码参与贡献
219245

XEngine_Docment/Docment_en.docx

2.04 KB
Binary file not shown.

XEngine_Docment/Docment_zh.docx

2.92 KB
Binary file not shown.

XEngine_Release/XEngine_Config/XEngine_VersionConfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"XVer":[
3-
"3.5.0.1001 Build20240508",
3+
"3.5.0.1001 Build20240510",
44
"3.4.0.1001 Build20240411",
55
"3.3.0.1001 Build20240308",
66
"3.2.0.1001 Build20231229",

0 commit comments

Comments
 (0)