fix: RRpcResult messageId type

fix #119
This commit is contained in:
wb-hx510875
2020-11-19 14:31:06 +08:00
committed by yndu13
parent 0e778cd17c
commit efb0804bf2
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ namespace AlibabaCloud
std::string errorMessage_;
std::string code_;
bool success_;
long messageId_;
unsigned long long messageId_;
};
}

View File

@@ -50,7 +50,7 @@ void RRpcResult::parse(const std::string &payload)
if(!value["PayloadBase64Byte"].isNull())
payloadBase64Byte_ = value["PayloadBase64Byte"].asString();
if(!value["MessageId"].isNull())
messageId_ = std::stol(value["MessageId"].asString());
messageId_ = std::stoull(value["MessageId"].asString());
}