Skip to content

Commit 65bbbab

Browse files
committed
update:db and configure and example
1 parent 6e39b1f commit 65bbbab

File tree

4 files changed

+38
-4
lines changed

4 files changed

+38
-4
lines changed

CHANGELOG

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
XEngine_APIService V3.7.0.1001
2+
3+
增加:windows的coredump支持
4+
增加:工作流支持
5+
增加:启动测试参数支持
6+
更新:匹配XEngine V8.40版本
7+
更新:子模块
8+
修改:modify:XENGIEN_APISERVICE_BUFFER_SIZE 替换为 XENGINE_MEMORY_SIZE_MAX
9+
修改:生成顺序调整
10+
修改:p2p刻度爱你管理支持禁用了
11+
修正:mac和linux系统下构建错误
12+
修正:头文件缺失
13+
修正:后台服务http下载状态处理错误
14+
修正:机器信息日志打印错误
15+
修正:禁用插件没有作用的问题
16+
17+
added:windows core dump generator support
18+
added:workflows support
19+
added:start test support
20+
update:match xengine v8.40
21+
update:sub module
22+
modify:XENGIEN_APISERVICE_BUFFER_SIZE instead XENGINE_MEMORY_SIZE_MAX
23+
modify:generation sequence
24+
modify:p2p client management support disable
25+
fixed:build error on mac and linux
26+
fixed:header file lost
27+
fixed:http download status process failed for back service
28+
fixed:log print info incorrect for machine info
29+
fixed:does not work when disable plugin
30+
======================================================================================
131
XEngine_APIService V3.6.0.1001
232

333
增加:mac地址供应商查询

XEngine_APPClient/APPClient_MachineExample/APPClient_MachineExample.cpp

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ int test_insert()
4444

4545
Json::Value st_JsonRoot;
4646
Json::StreamWriterBuilder st_JsonBuilder;
47+
st_JsonRoot["tszServiceName"] = "XEngine_TestApp";
4748
st_JsonRoot["tszMachineName"] = tszOSName;
49+
st_JsonRoot["tszMachineUser"] = "user";
4850
st_JsonRoot["tszMachineCode"] = st_SDKSerial.tszSystemSerial;
4951
st_JsonRoot["tszMachineSystem"] = tszComputerName;
5052

@@ -65,7 +67,7 @@ int test_list()
6567
{
6668
int nLen = 0;
6769
int nCode = 0;
68-
LPCXSTR lpszAPIUrl = _X("http://127.0.0.1:5501/api?function=machine&params1=2");
70+
LPCXSTR lpszAPIUrl = _X("http://127.0.0.1:5501/api?function=machine&params1=3");
6971

7072
XCHAR* ptszMsgBuffer = NULL;
7173
if (!APIClient_Http_Request(_X("POST"), lpszAPIUrl, NULL, &nCode, &ptszMsgBuffer, &nLen))
@@ -84,11 +86,12 @@ int test_delete()
8486
int nCode = 0;
8587
LPCXSTR lpszAPIUrl = _X("http://127.0.0.1:5501/api?function=machine&params1=1");
8688

87-
SYSTEMAPI_SERIAL_INFOMATION st_SDKSerial = {};
88-
SystemApi_HardWare_GetSerial(&st_SDKSerial);
89+
XCHAR tszComputerName[128] = {};
90+
SystemApi_System_GetSysName(NULL, tszComputerName);
8991

9092
Json::Value st_JsonRoot;
91-
st_JsonRoot["tszMachineCode"] = st_SDKSerial.tszSystemSerial;
93+
st_JsonRoot["tszServiceName"] = "XEngine_TestApp";
94+
st_JsonRoot["tszMachineSystem"] = tszComputerName;
9295

9396
XCHAR* ptszMsgBuffer = NULL;
9497
if (!APIClient_Http_Request(_X("POST"), lpszAPIUrl, st_JsonRoot.toStyledString().c_str(), &nCode, &ptszMsgBuffer, &nLen))

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.7.0.1001 Build20240927",
34
"3.6.0.1001 Build20240705",
45
"3.5.0.1001 Build20240510",
56
"3.4.0.1001 Build20240411",
310 KB
Binary file not shown.

0 commit comments

Comments
 (0)