Forráskód Böngészése

XSPACE SDK Auto Released By yanjiang.yy,Version:1.34.49

Signed-off-by: haowei.yao <haowei.yao@alibaba-inc.com>
haowei.yao 7 éve
szülő
commit
947fa7238f

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2019-03-19 Version: 1.34.49
+1, format fields: tags, associatePerson
+
 2019-03-19 Version: 1.34.48
 2019-03-19 Version: 1.34.48
 1, add query user oms data api
 1, add query user oms data api
 
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.34.48
+1.34.49

+ 2 - 0
xspace/include/alibabacloud/xspace/model/QueryCustomerByPhoneResult.h

@@ -40,6 +40,8 @@ namespace AlibabaCloud
 						std::string abcUrl;
 						std::string abcUrl;
 						std::vector<std::string> associatePersonList;
 						std::vector<std::string> associatePersonList;
 						std::string distributionLevel;
 						std::string distributionLevel;
+						std::string tag;
+						std::string associatePerson;
 						std::string cid;
 						std::string cid;
 					};
 					};
 					std::string email;
 					std::string email;

+ 4 - 0
xspace/src/model/QueryCustomerByPhoneResult.cc

@@ -69,6 +69,10 @@ void QueryCustomerByPhoneResult::parse(const std::string &payload)
 			dataObject.customizeFields.distributionLevel = customizeFieldsNode["DistributionLevel"].asString();
 			dataObject.customizeFields.distributionLevel = customizeFieldsNode["DistributionLevel"].asString();
 		if(!customizeFieldsNode["MainAccountUid"].isNull())
 		if(!customizeFieldsNode["MainAccountUid"].isNull())
 			dataObject.customizeFields.mainAccountUid = customizeFieldsNode["MainAccountUid"].asString();
 			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"];
 			auto allAssociatePersonList = customizeFieldsNode["AssociatePersonList"]["AssociatePersonList"];
 			for (auto value : allAssociatePersonList)
 			for (auto value : allAssociatePersonList)
 				dataObject.customizeFields.associatePersonList.push_back(value.asString());
 				dataObject.customizeFields.associatePersonList.push_back(value.asString());