From 947fa7238f6529b8253a912c3440e77104d6b82c Mon Sep 17 00:00:00 2001 From: "haowei.yao" Date: Tue, 19 Mar 2019 16:14:52 +0800 Subject: [PATCH] =?UTF-8?q?XSPACE=20SDK=20Auto=20Released=20By=20yanjiang.?= =?UTF-8?q?yy,Version=EF=BC=9A1.34.49?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: haowei.yao --- CHANGELOG | 3 +++ VERSION | 2 +- .../alibabacloud/xspace/model/QueryCustomerByPhoneResult.h | 2 ++ xspace/src/model/QueryCustomerByPhoneResult.cc | 4 ++++ 4 files changed, 10 insertions(+), 1 deletion(-) 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());