开发者社区> 问答> 正文

阿里云SDK c++版本函数QueryProductList返回结果不全

阿里云SDK c++版本(aliyun-openapi-cpp-sdk)调用函数QueryProductList返回的结果中无产品的详细信息(list的size为0)。
返回的数据结构如下:

struct Data
{
 struct ProductInfo
 {
  long gmtCreate;
  std::string description;
  std::string productName;
  int nodeType;
  int dataFormat;
  std::string productKey;
  int deviceCount;
 };
 int pageCount;
 int pageSize;
 int currentPage;
 int total;
 std::vector<ProductInfo> list;
};
从设计上来说,list变量的作用应该就是用来存放产品的信息的,而且python版本的返回结果是有的,所以感觉此处会不会是个bug,还是我使用的方式不对?

展开
收起
KevinPan 2019-04-02 14:21:03 3073 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
阿里云云原生 Serverless 技术实践营 PPT 演讲 立即下载
阿里云产品十月刊 立即下载
基于阿里云构建博学谷平台实时湖仓 立即下载