Skip to content

Commit

Permalink
一些改动.jpg
Browse files Browse the repository at this point in the history
  • Loading branch information
w4123 committed May 21, 2019
1 parent bafb43d commit 37751ef
Show file tree
Hide file tree
Showing 8 changed files with 213 additions and 110 deletions.
12 changes: 10 additions & 2 deletions Dice/DiceNetwork.cpp
Expand Up @@ -112,7 +112,11 @@ namespace Network
}
if (dwRetCode != 200)
{
des = format(GlobalMsg["strRequestRetCodeErr"], {std::to_string(dwRetCode) });
des = format(GlobalMsg["strRequestRetCodeErr"],
std::map<const std::string, const std::string> {
{ "http_status_code", std::to_string(dwRetCode) }
}
);
InternetCloseHandle(hRequest);
InternetCloseHandle(hConnect);
InternetCloseHandle(hInternet);
Expand Down Expand Up @@ -211,7 +215,11 @@ namespace Network
}
if (dwRetCode != 200)
{
des = format(GlobalMsg["strRequestRetCodeErr"], { std::to_string(dwRetCode) });
des = format(GlobalMsg["strRequestRetCodeErr"],
{
{ "http_status_code", std::to_string(dwRetCode) }
}
);
InternetCloseHandle(hRequest);
InternetCloseHandle(hConnect);
InternetCloseHandle(hInternet);
Expand Down

0 comments on commit 37751ef

Please sign in to comment.