开发者社区> 问答> 正文

阿里云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 3072 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
一个跨平台的云服务SDK需要什么 立即下载
使用C++11开发PHP7扩展 立即下载
GPON Class C++ SFP O;T Transce 立即下载