ContrastFaceVerify Return SubCode.

This commit is contained in:
sdk-team
2020-04-27 17:52:10 +08:00
parent f69779be3f
commit f90eac2a6c
4 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,6 @@
2020-04-27 Version: 1.36.381
- ContrastFaceVerify Return SubCode.
2020-04-27 Version: 1.36.380
- Generated 2019-01-01 for `Cassandra`.

View File

@@ -1 +1 @@
1.36.380
1.36.381

View File

@@ -37,6 +37,7 @@ namespace AlibabaCloud
std::string passed;
std::string identityInfo;
std::string materialInfo;
std::string subCode;
};

View File

@@ -46,6 +46,8 @@ void ContrastFaceVerifyResult::parse(const std::string &payload)
resultObject_.identityInfo = resultObjectNode["IdentityInfo"].asString();
if(!resultObjectNode["MaterialInfo"].isNull())
resultObject_.materialInfo = resultObjectNode["MaterialInfo"].asString();
if(!resultObjectNode["SubCode"].isNull())
resultObject_.subCode = resultObjectNode["SubCode"].asString();
if(!value["Message"].isNull())
message_ = value["Message"].asString();
if(!value["Code"].isNull())