Skip to content

Commit

Permalink
improved:get send report time
Browse files Browse the repository at this point in the history
  • Loading branch information
xengine-qyt committed Jan 22, 2025
1 parent 9fdb7ab commit 28b2928
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion XEngine_Source/XEngine_Depend
Submodule XEngine_Depend updated 30 files
+38 −0 .github/ISSUE_TEMPLATE/bug_report.md
+20 −0 .github/ISSUE_TEMPLATE/feature_request.md
+62 −0 .github/workflows/codeql.yml
+35 −0 .github/workflows/cppcheck.yml
+15 −0 .github/workflows/issue-translator.yml
+71 −0 .github/workflows/macbuild.yml
+79 −0 .github/workflows/msbuild.yml
+69 −0 .github/workflows/ubuntubuild.yml
+4 −4 README.en.md
+4 −4 README.md
+9 −0 XEngine.sln
+3 −3 XEngine_Application/XEngine_APPModuleTest/XEngine_APPModuleTest.cpp
+12 −0 XEngine_Application/XEngine_APPModuleTest/XEngine_APPModuleTest.vcxproj
+6 −2 XEngine_Application/XEngine_APPSocketTest/XEngine_APPSocketTest.vcxproj
+12 −0 XEngine_Example/AVCodec_APPPlayer/AVCodec_APPPlayer.cpp
+11 −3 XEngine_Example/AVCodec_APPPlayer/AVCodec_APPPlayer.vcxproj
+12 −0 XEngine_Example/InfoReport_APPExample/InfoReport_APPExample.cpp
+9 −0 XEngine_Example/InfoReport_APPExample/InfoReport_APPExample.vcxproj
+12 −0 XEngine_Example/TinyXML2_APPExample/TinyXML2_APPExample.cpp
+4 −0 XEngine_Example/TinyXML2_APPExample/TinyXML2_APPExample.vcxproj
+2 −0 XEngine_Module/XEngine_AVPlayer/Makefile
+8 −0 XEngine_Module/XEngine_AVPlayer/XEngine_AVPlayer.vcxproj
+85 −16 XEngine_Module/XEngine_InfoReport/InfoReport_APIMachine/InfoReport_APIMachine.cpp
+2 −1 XEngine_Module/XEngine_InfoReport/InfoReport_APIMachine/InfoReport_APIMachine.h
+26 −2 XEngine_Module/XEngine_InfoReport/InfoReport_Define.h
+2 −1 XEngine_Module/XEngine_InfoReport/XEngine_InfoReport.def
+10 −0 XEngine_Module/XEngine_InfoReport/XEngine_InfoReport.vcxproj
+6 −2 XEngine_Module/XEngine_InfoReport/pch.cpp
+10 −0 XEngine_Module/jsoncpp/jsoncpp.vcxproj
+10 −0 XEngine_Module/tinyxml2/tinyxml2.vcxproj
5 changes: 2 additions & 3 deletions XEngine_Source/XEngine_StorageApp/XEngine_StorageApp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -575,10 +575,9 @@ int main(int argc, char** argv)
//发送信息报告
if (st_ServiceCfg.st_XReport.bEnable && !bIsTest)
{
if (InfoReport_APIMachine_Send(st_ServiceCfg.st_XReport.tszAPIUrl, st_ServiceCfg.st_XReport.tszServiceName))
__int64x nTimeCount = 0;
if (InfoReport_APIMachine_Send(st_ServiceCfg.st_XReport.tszAPIUrl, st_ServiceCfg.st_XReport.tszServiceName, &nTimeCount))
{
__int64x nTimeCount = 0;
InfoReport_APIMachine_GetTime(st_ServiceCfg.st_XReport.tszAPIUrl, st_ServiceCfg.st_XReport.tszServiceName, &nTimeCount);
XLOG_PRINT(xhLog, XENGINE_HELPCOMPONENTS_XLOG_IN_LOGLEVEL_INFO, _X("启动服务中,启动信息报告给API服务器:%s 成功,报告次数:%lld"), st_ServiceCfg.st_XReport.tszAPIUrl, nTimeCount);
}
else
Expand Down

0 comments on commit 28b2928

Please sign in to comment.