Skip to content

Commit 64c8d1f

Browse files
authored
Merge pull request #29 from libxengine/develop
V3.6.0.1001 Merge
2 parents 2886583 + 164d43c commit 64c8d1f

File tree

78 files changed

+697
-2374
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+697
-2374
lines changed

.github/workflows/msbuild.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: C++ Build with Dependencies
2+
3+
#on: [push] # 触发条件,推送和拉取请求时,
4+
on:
5+
workflow_dispatch: # 添加这行来启用手动触发
6+
7+
permissions:
8+
contents: write
9+
10+
jobs:
11+
build:
12+
strategy:
13+
matrix:
14+
configuration: [Release]
15+
platform: [x86]
16+
17+
runs-on: windows-latest # 最新的 Windows 环境
18+
19+
steps:
20+
# 检出您的主仓库代码
21+
- name: Checkout main repository code
22+
uses: actions/checkout@v3
23+
24+
# 检出依赖的xengine仓库到指定的xengine目录
25+
- name: Checkout dependency repository (xengine)
26+
uses: actions/checkout@v3
27+
with:
28+
repository: libxengine/xengine
29+
path: xengine
30+
31+
- name: Checkout dependency repository (vcpkg)
32+
uses: actions/checkout@v3
33+
with:
34+
repository: https://github.com/microsoft/vcpkg.git
35+
path: vcpkg
36+
37+
# 设置依赖库的环境变量
38+
- name: Set up Dependency Environment Variables
39+
run: |
40+
echo "XENGINE_INCLUDE=${{ github.workspace }}/xengine" | Out-File -FilePath $env:GITHUB_ENV -Append
41+
echo "XENGINE_LIB32=${{ github.workspace }}/xengine/XEngine_Windows/x86" | Out-File -FilePath $env:GITHUB_ENV -Append
42+
echo "XENGINE_LIB64=${{ github.workspace }}/xengine/XEngine_Windows/x64" | Out-File -FilePath $env:GITHUB_ENV -Append
43+
shell: pwsh
44+
45+
# 配置 MSBuild 的路径,准备构建 VC++ 项目
46+
- name: Setup MSBuild
47+
uses: microsoft/[email protected]
48+
#编译
49+
- name: Build Solution
50+
run: msbuild XEngine_Source/XEngine.sln /p:Configuration=${{ matrix.configuration }} /p:Platform=${{ matrix.platform }}

.gitmodules

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
[submodule "XEngine_Source/XEngine_Depend"]
22
path = XEngine_Source/XEngine_Depend
33
url = https://github.com/libxengine/XEngine_OPenSource.git
4+
[submodule "XEngine_Source/XEngine_DBDepend/phonedata"]
5+
path = XEngine_Source/XEngine_DBDepend/XEngine_PhoneData
6+
url = https://github.com/libxengine/XEngine_PhoneData.git
7+
[submodule "XEngine_Source/XEngine_DBDepend/XEngine_IPMacData"]
8+
path = XEngine_Source/XEngine_DBDepend/XEngine_IPMacData
9+
url = https://github.com/libxengine/XEngine_IPMacData.git

CHANGELOG

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
XEngine_APIService V3.6.0.1001
2+
3+
增加:mac地址供应商查询
4+
增加:ip和phone子模块替换插件模块
5+
增加:机器信息最后更新日期
6+
更新:ip和phone数据库并且添加mac数据库
7+
更新:配置文件以及增加数据库配置
8+
修改:机器信息的编码改为用户信息
9+
修改:机器信息不在兼容以往的版本
10+
修正:机器信息数据查询错误
11+
修正:windows石油查询名称乱码问题
12+
修正:windows下翻译乱码问题
13+
14+
added:mac address vendor query
15+
added:ip sub module to plugin instead
16+
added:last update time for machine
17+
update:ip phone database and added mac addr database
18+
update:configure file and added apimodule database
19+
modify:code to user for machine info
20+
modify:not compatible with previous version
21+
fixed:sql query is incorrect for machine
22+
fixed:oil query name is Garbled on window
23+
fixed:transfer language chinese Garbled characters on windows
24+
======================================================================================
125
XEngine_APIService V3.5.0.1001
226

327
增加:机器信息收集增加服务名字段

README.en.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ Support privatization deployment, free, safe, open source, controllable
5454
33. heartbeat
5555
34. STUN NAT Protocol
5656
35. NTP Time Sync Protocol
57+
36. mac address vendor query
5758

5859
## install
5960

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ c c++ interface api service
5353
33. 心跳处理
5454
34. STUN NAT协议
5555
35. NTP时间同步协议
56+
36. 支持MAC地址厂商查询
5657

5758
## 安装教程
5859

XEngine_Docment/Docment_en.docx

11.4 KB
Binary file not shown.

XEngine_Docment/Docment_zh.docx

12.1 KB
Binary file not shown.

XEngine_Release/XEngine_Config/XEngine_Config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,12 @@
6262
"bDeamon":false
6363
}
6464
},
65+
"XAPIModule": {
66+
"bEnable": true,
67+
"tszDBPhone": "./XEngine_DBFile/phone.xdb",
68+
"tszDBMac": "./XEngine_DBFile/macaddr.xdb",
69+
"tszDBIPAddr": "./XEngine_DBFile/ip2region.xdb"
70+
},
6571
"XReport":{
6672
"bEnable":true,
6773
"tszAPIUrl":"http://app.xyry.org:5501/api?function=machine",

XEngine_Release/XEngine_Config/XEngine_PluginLib.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,6 @@
2424
"PluginEnable":true,
2525
"PluginMethod":"meter",
2626
"PluginFile":"./XEngine_LibPlugin/libModulePlugin_Meter"
27-
},
28-
{
29-
"PluginEnable":true,
30-
"PluginMethod":"phone",
31-
"PluginFile":"./XEngine_LibPlugin/libModulePlugin_Phone"
32-
},
33-
{
34-
"PluginEnable":true,
35-
"PluginMethod":"ip",
36-
"PluginFile":"./XEngine_LibPlugin/libModulePlugin_IPAddr"
3727
}
3828
]
3929
}

XEngine_Release/XEngine_Config/XEngine_VersionConfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"XVer":[
3+
"3.6.0.1001 Build20240705",
34
"3.5.0.1001 Build20240510",
45
"3.4.0.1001 Build20240411",
56
"3.3.0.1001 Build20240308",

0 commit comments

Comments
 (0)