函数更改成正确的名字
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user