Automatic merge from release/2.3.0 -> release/2.4.0

* commit '1f4c7d1f35b005fe7319357bfca083eefdc9df2a':
  id为空统一处理
This commit is contained in:
邱剑
2018-12-04 21:33:13 +08:00
+3
View File
@@ -85,6 +85,9 @@ func _jsonRequest(client *common.Client, domain string, version string, apiName
req.SetDomain(domain)
for k, v := range params {
if strings.HasSuffix(k, "Ids.0") && len(v) == 0 {
return nil, cloudprovider.ErrNotFound
}
req.GetParams()[k] = v
}
resp := &QcloudResponse{