diff --git a/CHANGELOG b/CHANGELOG index 8f9c4bc68..6f0493758 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2019-03-19 Version: 1.34.49 +1, format fields: tags, associatePerson + 2019-03-19 Version: 1.34.48 1, add query user oms data api diff --git a/VERSION b/VERSION index 3ced0f518..a32b8f4ca 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.34.48 \ No newline at end of file +1.34.49 \ No newline at end of file diff --git a/xspace/include/alibabacloud/xspace/model/QueryCustomerByPhoneResult.h b/xspace/include/alibabacloud/xspace/model/QueryCustomerByPhoneResult.h index f37223ab1..7bb9f6d2f 100644 --- a/xspace/include/alibabacloud/xspace/model/QueryCustomerByPhoneResult.h +++ b/xspace/include/alibabacloud/xspace/model/QueryCustomerByPhoneResult.h @@ -40,6 +40,8 @@ namespace AlibabaCloud std::string abcUrl; std::vector associatePersonList; std::string distributionLevel; + std::string tag; + std::string associatePerson; std::string cid; }; std::string email; diff --git a/xspace/src/model/QueryCustomerByPhoneResult.cc b/xspace/src/model/QueryCustomerByPhoneResult.cc index 1bbdfd89f..61cda5f82 100644 --- a/xspace/src/model/QueryCustomerByPhoneResult.cc +++ b/xspace/src/model/QueryCustomerByPhoneResult.cc @@ -69,6 +69,10 @@ void QueryCustomerByPhoneResult::parse(const std::string &payload) dataObject.customizeFields.distributionLevel = customizeFieldsNode["DistributionLevel"].asString(); if(!customizeFieldsNode["MainAccountUid"].isNull()) dataObject.customizeFields.mainAccountUid = customizeFieldsNode["MainAccountUid"].asString(); + if(!customizeFieldsNode["AssociatePerson"].isNull()) + dataObject.customizeFields.associatePerson = customizeFieldsNode["AssociatePerson"].asString(); + if(!customizeFieldsNode["Tag"].isNull()) + dataObject.customizeFields.tag = customizeFieldsNode["Tag"].asString(); auto allAssociatePersonList = customizeFieldsNode["AssociatePersonList"]["AssociatePersonList"]; for (auto value : allAssociatePersonList) dataObject.customizeFields.associatePersonList.push_back(value.asString());