最新活动 七周年庆典

产品

硅云帮助文档中心

搜索文档

热门搜索词:

获取产品列表

更新时间:2020-05-21 17:01  版本:v1.0
分享到:
我要反馈 
收藏 我的收藏

请求说明:


    此接口功能为获取产品列表,此接口不需要验签,产品类型很少修改,建议缓存下来


请求url:


/domain-server/api/v1/product/search


请求方式:


GET


请求参数:


字段类型最大长度参数位置默认为空描述
domainTldsset<String>
RequetBody
域名后缀数组,带. 如 [".com",".cn"]
languageType
String8RequetBody
域名语言,cn表示中文域名,en表示英文域名


请求示例:


GET /domain-server/api/v1/product/search HTTP/1.1
Content-Type: application/json

{
	"domainTlds":[".com",".cn"],
	"languageType":"en"
}


返回示例:


实际以真实返回结果为准


{
    "status": 2000,
    "message": "success",
    "data": [
        {
            "domainTld": ".com",
            "languageType": "en",
            "languageTypeName": "英文域名",
            "regUnitPrice": 4800,
            "regPriceInfo": "{\"1\":4900,\"2\":10300,\"3\":14500,\"4\":18000,\"5\":23400,\"6\":36000,\"7\":42000,\"8\":47000,\"9\":52000,\"10\":57000}",
            "renewUnitPrice": 6000,
            "renewPriceInfo": "{\"1\":5300,\"2\":11300,\"3\":15500,\"4\":19000,\"5\":24400,\"6\":37000,\"7\":43000,\"8\":47000,\"9\":52000,\"10\":57000}",
            "description": "描述",
            "needTmValid": false,
            "pos": 1
        },
        {
            "domainTld": ".cn",
            "languageType": "en",
            "languageTypeName": "英文域名",
            "regUnitPrice": 4800,
            "regPriceInfo": "{\"1\":4900,\"2\":10300,\"3\":14500,\"4\":18000,\"5\":23400,\"6\":36000,\"7\":42000,\"8\":47000,\"9\":52000,\"10\":57000}",
            "renewUnitPrice": 6000,
            "renewPriceInfo": "{\"1\":5300,\"2\":11300,\"3\":15500,\"4\":19000,\"5\":24400,\"6\":37000,\"7\":43000,\"8\":47000,\"9\":52000,\"10\":57000}",
            "description": "描述",
            "needTmValid": true,
            "pos": 12
        }
    ]
}


产品类型数据结构:


字段类型
描述
domainTld
string域名后缀
regUnitPrice
int注册单价,单位为分
regPriceInfostringjson字符串,注册价格表,key代表年,value代表价格,单位为分
renewUnitPrice
int续费单价,单位为分
renewPriceInfo
stringjson字符串,续费价格表,key代表年,value代表价格,单位为分
needTmValid
booleantrue为需要模板实名通过,这个类型的域名才可以注册







您对该文档有什么建议?

您对该文档的评分:

本文导航

请求说明:

请求参数:

请求示例:

返回示例:

搜索文档