函数更改成正确的名字

This commit is contained in:
2025-12-12 12:01:19 +08:00
parent ae5479b583
commit dad2b61a50
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -65,7 +65,7 @@ std::string buildRequestUrl()
return "http://api-test.netbar.itrpc.woa.com/netbar.cafe.rewards.rewards/Rewards";
}
bool NetbarInterface::onReceiveNetbarReportRequest(GameClient* client, Game::NetbaraStatusReq* request)
bool NetbarInterface::onReceiveNetbarStatusRequest(GameClient* client, Game::NetbaraStatusReq* request)
{
std::string requestBody = buildRequestJson(client, request);
std::string requestUrl = buildRequestUrl();
@@ -79,7 +79,7 @@ bool NetbarInterface::onReceiveNetbarReportRequest(GameClient* client, Game::Net
if(retCode != 0)
{
CY_LOG(cyclone::L_ERROR, "NetbarInterface::onReceiveNetbarReportRequest curlRequest failed, retCode=%d", retCode);
CY_LOG(cyclone::L_ERROR, "NetbarInterface::onReceiveNetbarStatusRequest curlRequest failed, retCode=%d", retCode);
char szTemp[256] = { 0 };
snprintf(szTemp, 256, "Curl request failed, retCode=%d", retCode);