跳转至

产品相关接口

GET 查询指定产品类型的商品信息

GET /prod-api/order/mall/product/describeProductPackages/{productType}

请求参数

名称 位置 类型 必选 说明
productType path integer(int32) productType:2(表示 WEB 应用防火墙),3(表示 DDoS 防御),4(表示 TCP/UDP 防御),5(表示安全加速)
Authorization header string none

返回示例

200 Response

{
  "msg": "成功",
  "code": 200,
  "data": {
    "product_ddos_o": [
      {
        "packageId": 32002,
        "offerCode": "product_ddos_o",
        "productName": "30G",
        "discountRate": 0,
        "sort": 1,
        "productType": 3,
        "itemExtras": [
          {
            "itemName": "拓展带宽包",
            "itemUnit": "Mbps",
            "itemCode": "extra_bandwidth_package",
            "sort": 1
          }
        ],
        "items": [
          {
            "itemName": "业务带宽",
            "itemUnit": "Mbps",
            "itemCode": "service_bandwidth",
            "itemValue": "1",
            "desc": "2",
            "sort": 1
          }
        ],
        "terms": [
          {
            "termId": 88,
            "value": 1,
            "unit": "month",
            "unitName": "月",
            "sort": 1,
            "discountRate": 0
          }
        ]
      },
      {
        "packageId": 31001,
        "offerCode": "product_ddos_o",
        "productName": "10G",
        "discountRate": 0,
        "sort": 1,
        "productType": 3,
        "itemExtras": [
          {
            "itemName": "拓展带宽包",
            "itemUnit": "Mbps",
            "itemCode": "extra_bandwidth_package",
            "sort": 1
          },
          {
            "itemName": "拓展域名包",
            "itemUnit": null,
            "itemCode": "extra_domain_package",
            "sort": 2
          }
        ],
        "items": [
          {
            "itemName": "业务带宽",
            "itemUnit": "Mbps",
            "itemCode": "service_bandwidth",
            "itemValue": "10",
            "desc": null,
            "sort": 1
          },
          {
            "itemName": "CC防护QPS",
            "itemUnit": "qps",
            "itemCode": "cc_fence_qps",
            "itemValue": "10000",
            "desc": null,
            "sort": 2
          },
          {
            "itemName": "协议支持",
            "itemUnit": null,
            "itemCode": "service_protocol",
            "itemValue": "HTTP/HTTPS",
            "desc": null,
            "sort": 3
          },
          {
            "itemName": "域名数量",
            "itemUnit": null,
            "itemCode": "domain",
            "itemValue": "10",
            "desc": null,
            "sort": 4
          }
        ],
        "terms": []
      }
    ],
    "product_ddos_g": [
      {
        "packageId": 33004,
        "offerCode": "product_ddos_g",
        "productName": "30G",
        "discountRate": 0,
        "sort": null,
        "productType": 3,
        "itemExtras": [],
        "items": [],
        "terms": []
      }
    ],
    "product_ddos_d": [
      {
        "packageId": 31007,
        "offerCode": "product_ddos_d",
        "productName": "免费试用",
        "discountRate": 0,
        "sort": 0,
        "productType": 3,
        "itemExtras": [
          {
            "itemName": "拓展域名包",
            "itemUnit": null,
            "itemCode": "extra_domain_package",
            "sort": 10
          },
          {
            "itemName": "拓展带宽包",
            "itemUnit": "Mbps",
            "itemCode": "extra_bandwidth_package",
            "sort": 20
          }
        ],
        "items": [
          {
            "itemName": "业务带宽",
            "itemUnit": "Mbps",
            "itemCode": "service_bandwidth",
            "itemValue": "10",
            "desc": "",
            "sort": 1
          },
          {
            "itemName": "域名数量",
            "itemUnit": null,
            "itemCode": "domain",
            "itemValue": "1",
            "desc": "",
            "sort": 10
          },
          {
            "itemName": "协议支持",
            "itemUnit": null,
            "itemCode": "service_protocol",
            "itemValue": "HTTP/HTTPS",
            "desc": "",
            "sort": 20
          }
        ],
        "terms": [
          {
            "termId": 131,
            "value": 3,
            "unit": "day",
            "unitName": "天",
            "sort": 0,
            "discountRate": 1
          },
          {
            "termId": 133,
            "value": 1,
            "unit": "month",
            "unitName": "月",
            "sort": 2,
            "discountRate": 0
          }
        ]
      },
      {
        "packageId": 31002,
        "offerCode": "product_ddos_d",
        "productName": "30G",
        "discountRate": 0,
        "sort": 2,
        "productType": 3,
        "itemExtras": [
          {
            "itemName": "拓展域名包",
            "itemUnit": null,
            "itemCode": "extra_domain_package",
            "sort": 1
          },
          {
            "itemName": "拓展带宽包",
            "itemUnit": "Mbps",
            "itemCode": "extra_bandwidth_package",
            "sort": 10
          }
        ],
        "items": [
          {
            "itemName": "业务带宽",
            "itemUnit": "Mbps",
            "itemCode": "service_bandwidth",
            "itemValue": "10",
            "desc": "",
            "sort": 1
          },
          {
            "itemName": "CC防护QPS",
            "itemUnit": "qps",
            "itemCode": "cc_fence_qps",
            "itemValue": "10000",
            "desc": "",
            "sort": 2
          },
          {
            "itemName": "协议支持",
            "itemUnit": null,
            "itemCode": "service_protocol",
            "itemValue": "HTTP/HTTPS",
            "desc": "",
            "sort": 3
          },
          {
            "itemName": "域名数量",
            "itemUnit": null,
            "itemCode": "domain",
            "itemValue": "10",
            "desc": "每1个顶级域名,包含10个子域名。\\nEach top-level domain contains 10 subdomains.",
            "sort": 4
          },
          {
            "itemName": "WAF防护",
            "itemUnit": null,
            "itemCode": "web_firewall",
            "itemValue": "高级版",
            "desc": "温馨提示:购买DDOS防御,赠送云WAF防护高级版。",
            "sort": 5
          }
        ],
        "terms": [
          {
            "termId": 8,
            "value": 1,
            "unit": "month",
            "unitName": "月",
            "sort": null,
            "discountRate": 0
          },
          {
            "termId": 129,
            "value": 3,
            "unit": "month",
            "unitName": "月",
            "sort": 3,
            "discountRate": 0
          },
          {
            "termId": 10,
            "value": 1,
            "unit": "year",
            "unitName": "年",
            "sort": 12,
            "discountRate": 0
          }
        ]
      },
      {
        "packageId": 31003,
        "offerCode": "product_ddos_d",
        "productName": "40G",
        "discountRate": 0,
        "sort": 3,
        "productType": 3,
        "itemExtras": [
          {
            "itemName": "拓展域名包",
            "itemUnit": null,
            "itemCode": "extra_domain_package",
            "sort": 1
          },
          {
            "itemName": "拓展带宽包",
            "itemUnit": "Mbps",
            "itemCode": "extra_bandwidth_package",
            "sort": 2
          }
        ],
        "items": [
          {
            "itemName": "业务带宽",
            "itemUnit": "Mbps",
            "itemCode": "service_bandwidth",
            "itemValue": "20",
            "desc": "",
            "sort": 1
          },
          {
            "itemName": "CC防护QPS",
            "itemUnit": "qps",
            "itemCode": "cc_fence_qps",
            "itemValue": "40000",
            "desc": "",
            "sort": 2
          },
          {
            "itemName": "协议支持",
            "itemUnit": null,
            "itemCode": "service_protocol",
            "itemValue": "HTTP/HTTPS",
            "desc": "",
            "sort": 3
          },
          {
            "itemName": "域名数量",
            "itemUnit": null,
            "itemCode": "domain",
            "itemValue": "40",
            "desc": "每1个顶级域名,包含10个子域名。\\nEach top-level domain contains 10 subdomains.",
            "sort": 4
          },
          {
            "itemName": "WAF防护",
            "itemUnit": null,
            "itemCode": "web_firewall",
            "itemValue": "高级版",
            "desc": "温馨提示:购买DDOS防御,赠送云WAF防护高级版。",
            "sort": 5
          }
        ],
        "terms": [
          {
            "termId": 130,
            "value": 1,
            "unit": "month",
            "unitName": "月",
            "sort": 1,
            "discountRate": 0
          },
          {
            "termId": 132,
            "value": 2,
            "unit": "month",
            "unitName": "月",
            "sort": 2,
            "discountRate": 0
          }
        ]
      },
      {
        "packageId": 31005,
        "offerCode": "product_ddos_d",
        "productName": "100G",
        "discountRate": 0,
        "sort": 4,
        "productType": 3,
        "itemExtras": [
          {
            "itemName": "拓展域名包",
            "itemUnit": null,
            "itemCode": "extra_domain_package",
            "sort": 1
          },
          {
            "itemName": "拓展带宽包",
            "itemUnit": "Mbps",
            "itemCode": "extra_bandwidth_package",
            "sort": 2
          }
        ],
        "items": [
          {
            "itemName": "业务带宽",
            "itemUnit": "Mbps",
            "itemCode": "service_bandwidth",
            "itemValue": "100",
            "desc": "dai",
            "sort": 1
          },
          {
            "itemName": "域名数量",
            "itemUnit": null,
            "itemCode": "domain",
            "itemValue": "100",
            "desc": "每1个顶级域名,包含10个子域名。\\nEach top-level domain contains 10 subdomains.",
            "sort": 2
          }
        ],
        "terms": [
          {
            "termId": 134,
            "value": 1,
            "unit": "month",
            "unitName": "月",
            "sort": 1,
            "discountRate": 0
          },
          {
            "termId": 135,
            "value": 2,
            "unit": "month",
            "unitName": "月",
            "sort": 2,
            "discountRate": 0
          }
        ]
      },
      {
        "packageId": 31008,
        "offerCode": "product_ddos_d",
        "productName": "200G",
        "discountRate": 0,
        "sort": 6,
        "productType": 3,
        "itemExtras": [
          {
            "itemName": "拓展域名包",
            "itemUnit": null,
            "itemCode": "extra_domain_package",
            "sort": 0
          },
          {
            "itemName": "拓展带宽包",
            "itemUnit": "Mbps",
            "itemCode": "extra_bandwidth_package",
            "sort": 10
          }
        ],
        "items": [
          {
            "itemName": "业务带宽",
            "itemUnit": "Mbps",
            "itemCode": "service_bandwidth",
            "itemValue": "200",
            "desc": "带宽描述",
            "sort": 0
          },
          {
            "itemName": "协议支持",
            "itemUnit": null,
            "itemCode": "service_protocol",
            "itemValue": "HTTP/HTTPS",
            "desc": "",
            "sort": 10
          },
          {
            "itemName": "域名数量",
            "itemUnit": null,
            "itemCode": "domain",
            "itemValue": "30",
            "desc": "每1个顶级域名,包含10个子域名。\\nEach top-level domain contains 10 subdomains.",
            "sort": 20
          },
          {
            "itemName": "CC防护QPS",
            "itemUnit": "qps",
            "itemCode": "cc_fence_qps",
            "itemValue": "200000",
            "desc": "防护QPS描述",
            "sort": 30
          }
        ],
        "terms": [
          {
            "termId": 21,
            "value": 3,
            "unit": "day",
            "unitName": "天",
            "sort": 1,
            "discountRate": 0
          },
          {
            "termId": 22,
            "value": 1,
            "unit": "month",
            "unitName": "月",
            "sort": 2,
            "discountRate": 0
          },
          {
            "termId": 23,
            "value": 2,
            "unit": "month",
            "unitName": "月",
            "sort": 3,
            "discountRate": 0
          },
          {
            "termId": 24,
            "value": 3,
            "unit": "month",
            "unitName": "月",
            "sort": 4,
            "discountRate": 0
          },
          {
            "termId": 25,
            "value": 4,
            "unit": "month",
            "unitName": "月",
            "sort": 5,
            "discountRate": 0
          },
          {
            "termId": 26,
            "value": 5,
            "unit": "month",
            "unitName": "月",
            "sort": 6,
            "discountRate": 0
          },
          {
            "termId": 27,
            "value": 6,
            "unit": "month",
            "unitName": "月",
            "sort": 7,
            "discountRate": 0
          },
          {
            "termId": 28,
            "value": 1,
            "unit": "year",
            "unitName": "年",
            "sort": 8,
            "discountRate": 0
          },
          {
            "termId": 29,
            "value": 2,
            "unit": "year",
            "unitName": "年",
            "sort": 9,
            "discountRate": 0
          },
          {
            "termId": 30,
            "value": 3,
            "unit": "year",
            "unitName": "年",
            "sort": 10,
            "discountRate": 0
          }
        ]
      },
      {
        "packageId": 31009,
        "offerCode": "product_ddos_d",
        "productName": "500G",
        "discountRate": 0,
        "sort": 8,
        "productType": 3,
        "itemExtras": [
          {
            "itemName": "拓展域名包",
            "itemUnit": null,
            "itemCode": "extra_domain_package",
            "sort": 0
          },
          {
            "itemName": "拓展带宽包",
            "itemUnit": "Mbps",
            "itemCode": "extra_bandwidth_package",
            "sort": 10
          }
        ],
        "items": [
          {
            "itemName": "业务带宽",
            "itemUnit": "Mbps",
            "itemCode": "service_bandwidth",
            "itemValue": "50",
            "desc": "daik",
            "sort": 0
          }
        ],
        "terms": [
          {
            "termId": 31,
            "value": 3,
            "unit": "day",
            "unitName": "天",
            "sort": 1,
            "discountRate": 0
          },
          {
            "termId": 32,
            "value": 1,
            "unit": "month",
            "unitName": "月",
            "sort": 2,
            "discountRate": 0
          },
          {
            "termId": 33,
            "value": 2,
            "unit": "month",
            "unitName": "月",
            "sort": 3,
            "discountRate": 0
          },
          {
            "termId": 34,
            "value": 3,
            "unit": "month",
            "unitName": "月",
            "sort": 4,
            "discountRate": 0
          },
          {
            "termId": 35,
            "value": 4,
            "unit": "month",
            "unitName": "月",
            "sort": 5,
            "discountRate": 0
          },
          {
            "termId": 36,
            "value": 5,
            "unit": "month",
            "unitName": "月",
            "sort": 6,
            "discountRate": 0
          },
          {
            "termId": 37,
            "value": 6,
            "unit": "month",
            "unitName": "月",
            "sort": 7,
            "discountRate": 0
          },
          {
            "termId": 38,
            "value": 1,
            "unit": "year",
            "unitName": "年",
            "sort": 8,
            "discountRate": 0
          },
          {
            "termId": 39,
            "value": 2,
            "unit": "year",
            "unitName": "年",
            "sort": 9,
            "discountRate": 0
          },
          {
            "termId": 40,
            "value": 3,
            "unit": "year",
            "unitName": "年",
            "sort": 10,
            "discountRate": 0
          }
        ]
      },
      {
        "packageId": 31015,
        "offerCode": "product_ddos_d",
        "productName": "70",
        "discountRate": 0,
        "sort": 20,
        "productType": 3,
        "itemExtras": [],
        "items": [],
        "terms": [
          {
            "termId": 102,
            "value": 1,
            "unit": "month",
            "unitName": "月",
            "sort": 1,
            "discountRate": 0
          },
          {
            "termId": 103,
            "value": 2,
            "unit": "month",
            "unitName": "月",
            "sort": 2,
            "discountRate": 0
          },
          {
            "termId": 104,
            "value": 3,
            "unit": "month",
            "unitName": "月",
            "sort": 3,
            "discountRate": 0
          },
          {
            "termId": 105,
            "value": 4,
            "unit": "month",
            "unitName": "月",
            "sort": 4,
            "discountRate": 0
          },
          {
            "termId": 106,
            "value": 5,
            "unit": "month",
            "unitName": "月",
            "sort": 5,
            "discountRate": 0
          },
          {
            "termId": 107,
            "value": 6,
            "unit": "month",
            "unitName": "月",
            "sort": 6,
            "discountRate": 0
          },
          {
            "termId": 108,
            "value": 1,
            "unit": "year",
            "unitName": "年",
            "sort": 7,
            "discountRate": 0
          },
          {
            "termId": 109,
            "value": 2,
            "unit": "year",
            "unitName": "年",
            "sort": 8,
            "discountRate": 0
          },
          {
            "termId": 110,
            "value": 3,
            "unit": "year",
            "unitName": "年",
            "sort": 9,
            "discountRate": 0
          }
        ]
      },
      {
        "packageId": 31016,
        "offerCode": "product_ddos_d",
        "productName": "80",
        "discountRate": 0,
        "sort": 30,
        "productType": 3,
        "itemExtras": [],
        "items": [],
        "terms": [
          {
            "termId": 111,
            "value": 1,
            "unit": "month",
            "unitName": "月",
            "sort": 1,
            "discountRate": 0
          },
          {
            "termId": 112,
            "value": 2,
            "unit": "month",
            "unitName": "月",
            "sort": 2,
            "discountRate": 0
          },
          {
            "termId": 113,
            "value": 3,
            "unit": "month",
            "unitName": "月",
            "sort": 3,
            "discountRate": 0
          },
          {
            "termId": 114,
            "value": 4,
            "unit": "month",
            "unitName": "月",
            "sort": 4,
            "discountRate": 0
          },
          {
            "termId": 115,
            "value": 5,
            "unit": "month",
            "unitName": "月",
            "sort": 5,
            "discountRate": 0
          },
          {
            "termId": 116,
            "value": 6,
            "unit": "month",
            "unitName": "月",
            "sort": 6,
            "discountRate": 0
          },
          {
            "termId": 117,
            "value": 1,
            "unit": "year",
            "unitName": "年",
            "sort": 7,
            "discountRate": 0
          },
          {
            "termId": 118,
            "value": 2,
            "unit": "year",
            "unitName": "年",
            "sort": 8,
            "discountRate": 0
          },
          {
            "termId": 119,
            "value": 3,
            "unit": "year",
            "unitName": "年",
            "sort": 9,
            "discountRate": 0
          }
        ]
      },
      {
        "packageId": 31017,
        "offerCode": "product_ddos_d",
        "productName": "60",
        "discountRate": 0,
        "sort": 50,
        "productType": 3,
        "itemExtras": [],
        "items": [],
        "terms": [
          {
            "termId": 120,
            "value": 1,
            "unit": "month",
            "unitName": "月",
            "sort": 1,
            "discountRate": 0
          },
          {
            "termId": 121,
            "value": 2,
            "unit": "month",
            "unitName": "月",
            "sort": 2,
            "discountRate": 0
          },
          {
            "termId": 122,
            "value": 3,
            "unit": "month",
            "unitName": "月",
            "sort": 3,
            "discountRate": 0
          },
          {
            "termId": 123,
            "value": 4,
            "unit": "month",
            "unitName": "月",
            "sort": 4,
            "discountRate": 0
          },
          {
            "termId": 124,
            "value": 5,
            "unit": "month",
            "unitName": "月",
            "sort": 5,
            "discountRate": 0
          },
          {
            "termId": 125,
            "value": 6,
            "unit": "month",
            "unitName": "月",
            "sort": 6,
            "discountRate": 0
          },
          {
            "termId": 126,
            "value": 1,
            "unit": "year",
            "unitName": "年",
            "sort": 7,
            "discountRate": 0
          },
          {
            "termId": 127,
            "value": 2,
            "unit": "year",
            "unitName": "年",
            "sort": 8,
            "discountRate": 0
          },
          {
            "termId": 128,
            "value": 3,
            "unit": "year",
            "unitName": "年",
            "sort": 9,
            "discountRate": 0
          }
        ]
      },
      {
        "packageId": 31013,
        "offerCode": "product_ddos_d",
        "productName": "2T",
        "discountRate": 0,
        "sort": 200,
        "productType": 3,
        "itemExtras": [],
        "items": [],
        "terms": [
          {
            "termId": 79,
            "value": 1,
            "unit": "month",
            "unitName": "月",
            "sort": 1,
            "discountRate": 0
          },
          {
            "termId": 80,
            "value": 2,
            "unit": "month",
            "unitName": "月",
            "sort": 2,
            "discountRate": 0
          },
          {
            "termId": 81,
            "value": 3,
            "unit": "month",
            "unitName": "月",
            "sort": 3,
            "discountRate": 0
          },
          {
            "termId": 82,
            "value": 4,
            "unit": "month",
            "unitName": "月",
            "sort": 4,
            "discountRate": 0
          },
          {
            "termId": 83,
            "value": 5,
            "unit": "month",
            "unitName": "月",
            "sort": 5,
            "discountRate": 0
          },
          {
            "termId": 84,
            "value": 6,
            "unit": "month",
            "unitName": "月",
            "sort": 6,
            "discountRate": 0
          },
          {
            "termId": 85,
            "value": 1,
            "unit": "year",
            "unitName": "年",
            "sort": 7,
            "discountRate": 0
          },
          {
            "termId": 86,
            "value": 2,
            "unit": "year",
            "unitName": "年",
            "sort": 8,
            "discountRate": 0
          },
          {
            "termId": 87,
            "value": 3,
            "unit": "year",
            "unitName": "年",
            "sort": 9,
            "discountRate": 0
          }
        ]
      }
    ]
  }
}

401 Response

{}

返回结果

状态码 状态码含义 说明 数据模型
200 OK none Inline
401 Unauthorized none Inline
403 Forbidden none Inline
404 Not Found none Inline

返回数据结构

状态码 200

名称 类型 必选 约束 中文名 说明
» msg string true none none
» code integer true none none
» data object true none none
»» product_ddos_o [object] false none 中国大陆以外 none
»»» packageId integer true none 套餐 ID none
»»» offerCode string true none 地区 none
»»» productName string true none 套餐 none
»»» discountRate integer true none 折扣率 none
»»» sort integer true none 排序 none
»»» productType integer true none 产品类型 productType:
2(表示 WEB 应用防火墙),
3(表示 DDoS 防御),
4(表示 TCP/UDP 防御),
5(表示安全加速)
»»» itemExtras [object] true none 扩展配置 none
»»»» itemName string true none 名称 none
»»»» itemUnit string¦null true none 单位 none
»»»» itemCode string true none none
»»»» sort integer true none 排序 none
»»» items [object] true none 产品规格 none
»»»» itemName string true none 名称 none
»»»» itemUnit string¦null true none 单位 none
»»»» itemCode string true none code none
»»»» itemValue string true none none
»»»» desc string¦null true none 描述 none
»»»» sort integer true none 排序 none
»»» terms [object] true none 购买时长 none
»»»» termId integer false none ID none
»»»» value integer false none none
»»»» unit string false none 单位 none
»»»» unitName string false none 中文单位 none
»»»» sort integer false none 排序 none
»»»» discountRate integer false none 折扣率 none
»» product_ddos_g [object] false none 全球 none
»»» packageId integer false none 套餐 ID none
»»» offerCode string false none 地区 none
»»» productName string false none 套餐 none
»»» discountRate integer false none 折扣率 none
»»» sort null false none 排序 none
»»» productType integer false none 产品类型 productType:
2(表示 WEB 应用防火墙),
3(表示 DDoS 防御),
4(表示 TCP/UDP 防御),
5(表示安全加速)
»»» itemExtras [object] false none 扩展配置 none
»»»» itemName string true none 名称 none
»»»» itemUnit string true none 单位 none
»»»» itemCode string true none code none
»»»» sort string true none 排序 none
»»» items [object] false none 产品规格 none
»»»» itemName string true none 名称 none
»»»» itemUnit string true none 单位 none
»»»» itemCode string true none code none
»»»» itemValue string true none none
»»»» desc string true none 描述 none
»»»» sort string true none 排序 none
»»» terms [object] false none 购买时长 none
»»»» termId string true none id none
»»»» value string true none none
»»»» unit string true none 单位 none
»»»» unitName string true none 中文单位 none
»»»» sort string true none 排序 none
»»»» discountRate string true none 折扣率 none
»» product_ddos_d [object] false none 中国大陆 none
»»» packageId integer true none 套餐 ID none
»»» offerCode string true none 地区 none
»»» productName string true none 套餐 none
»»» discountRate integer true none 折扣率 none
»»» sort integer true none 排序 none
»»» productType integer true none 产品类型 productType:
2(表示 WEB 应用防火墙),
3(表示 DDoS 防御),
4(表示 TCP/UDP 防御),
5(表示安全加速)
»»» itemExtras [string] true none none
»»» items [object] true none 产品规格 none
»»»» itemName string true none 名称 none
»»»» itemUnit string¦null true none 单位 none
»»»» itemCode string true none code none
»»»» itemValue string true none none
»»»» desc string true none 描述 none
»»»» sort integer true none 排序 none
»»» terms [object] true none 购买时长 none
»»»» termId integer true none ID none
»»»» value integer true none none
»»»» unit string true none 单位 none
»»»» unitName string true none 中文单位 none
»»»» sort integer¦null true none 排序 none
»»»» discountRate integer true none 折扣率 none

数据模型