Close #13 очистка вывода
This commit is contained in:
@@ -87,7 +87,7 @@ int AccountUpdate::ProcessUrl(std::string date, std::string signature, std::stri
|
|||||||
stream << "message: " << jsonData["result"]["message"] << endl;
|
stream << "message: " << jsonData["result"]["message"] << endl;
|
||||||
string decoded = stream.str();
|
string decoded = stream.str();
|
||||||
cout << decoded << endl;
|
cout << decoded << endl;
|
||||||
string payload = base64_decode(jsonData["payload"]);
|
string payload = cleanup_html(base64_decode(jsonData["payload"]));
|
||||||
if (isDebug)
|
if (isDebug)
|
||||||
ShowDebug(data, decoded, 1, payload);
|
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("{{BT}}"), bt);
|
||||||
data = Replace(data, string("{{DATE}}"), date);
|
data = Replace(data, string("{{DATE}}"), date);
|
||||||
data = Replace(data, string("{{SIGN}}"), signature);
|
data = Replace(data, string("{{SIGN}}"), signature);
|
||||||
data = Replace(data, string("{{PGP}}"), pgpencoded);
|
data = Replace(data, string("{{PGP}}"), pgpencoded);
|
||||||
string result = ExecCommand(data.c_str());
|
string result = ExecCommand(data.c_str());
|
||||||
if (result.length() == 0)
|
if (result.length() == 0)
|
||||||
return NoResponse("");
|
return NoResponse("");
|
||||||
|
|||||||
@@ -14,4 +14,5 @@
|
|||||||
-l|--leave-before { <гггг-мм-дд> [чч:мм:сс UTC] | <время>[smhd] }
|
-l|--leave-before { <гггг-мм-дд> [чч:мм:сс UTC] | <время>[smhd] }
|
||||||
Время окончания сделки (длительность сделки), по умолчанию: 14d
|
Время окончания сделки (длительность сделки), по умолчанию: 14d
|
||||||
-p|--pay { <гггг-мм-дд> [чч:мм:сс UTC] | <время>[smhd] }
|
-p|--pay { <гггг-мм-дд> [чч:мм:сс UTC] | <время>[smhd] }
|
||||||
Время для оплаты сделки; по умолчанию: 1d
|
Время для оплаты сделки; по умолчанию: 1d
|
||||||
|
|
||||||
Reference in New Issue
Block a user