4.1 获取入口域名池列表
本API接口对应的会员中心页面版(入口域名池):
https://www.wechaturl.us/user/index.html#business_management/user_short_domain_list
说明:
本功能可以方便去获取入口域名池里面的所有域名。
注意,本接口不能频繁去获取,请在自己的程序里面去设置频率为数小时。当然你可以通过 “被封异步通知”(下面链接查看),并让你程序实时知道哪些域名被封,并做出排除或者重新拉取。https://www.wechaturl.us/user/index.html#business_management/btm_other_setting_async_notify
请求URL:
https://wechaturl.us/api/ShortDomain.json
请求方式:
POST 或者GET(如果用GET,特殊字符串需要url编码)
参数:
参数名 | 必选 | 类型 | 说明 |
appid | 是 | int | http://www.wechaturl.us/user/index.html 去免费获取appid |
appkey | 是 | string | http://www.wechaturl.us/user/index.html 去免费获取appkey |
type | 是 | string | 值:list |
layer_type | 否 | string | 目前只支持以下4个值:layer_top(入口域名),layer_hide_1(二级跳转),layer_hide_2(三级跳转),layer_last(四级跳转) |
status | 否 | int | 注意,默认为空,不是0;具体值请查看https://wechaturl.gitbook.io/wechaturl/code_sum url/域名微信检测状态码status |
page | 否 | int | 当前页面,默认为1 |
rows | 否 | int | 每页面获取的条数,默认20,最大是50 |
返回示例
https://wechaturl.us/api/ShortDomain.json?type=list&page=1&rows=30&appid=37****15&appkey=a50d38748960******80ae1a725b7c95
最后更新于