Close #13 очистка вывода

This commit is contained in:
Vladimir N. Korotenko
2025-11-22 13:39:26 +03:00
parent a9c0ae8e36
commit b1c9c70e0d
2 changed files with 4 additions and 3 deletions

View File

@@ -87,7 +87,7 @@ int AccountUpdate::ProcessUrl(std::string date, std::string signature, std::stri
stream << "message: " << jsonData["result"]["message"] << endl;
string decoded = stream.str();
cout << decoded << endl;
string payload = base64_decode(jsonData["payload"]);
string payload = cleanup_html(base64_decode(jsonData["payload"]));
if (isDebug)
ShowDebug(data, decoded, 1, payload);
@@ -106,7 +106,7 @@ int AccountUpdate::ProcessPgp(std::string date, std::string signature, std::stri
data = Replace(data, string("{{BT}}"), bt);
data = Replace(data, string("{{DATE}}"), date);
data = Replace(data, string("{{SIGN}}"), signature);
data = Replace(data, string("{{PGP}}"), pgpencoded);
data = Replace(data, string("{{PGP}}"), pgpencoded);
string result = ExecCommand(data.c_str());
if (result.length() == 0)
return NoResponse("");

View File

@@ -14,4 +14,5 @@
-l|--leave-before { <гггг-мм-дд> [чч:мм:сс UTC] | <время>[smhd] }
Время окончания сделки (длительность сделки), по умолчанию: 14d
-p|--pay { <гггг-мм-дд> [чч:мм:сс UTC] | <время>[smhd] }
Время для оплаты сделки; по умолчанию: 1d
Время для оплаты сделки; по умолчанию: 1d