💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
功能描述: `批量添加链接` post json数组字段说明: | 字段名 | 类型 | 是否必传 | 说明 | | --- | --- | --- | --- | | index| string | Y | 自定索引,方便与结果对应上 | | link | string | Y | 原始网站链接 | | info | string |N | 备注信息 | | domaintype | int |N | 生成的短链类型,取值为 0:默认 1:w.url.cn 3:t.cn (如果指定了>0的值,若第三方平台有调整时,系统将不再另行通知,会自动使用默认值)| 返回数组字段说明: | 字段名 | 类型 | 说明 | | --- | --- |--- | | index| string | 自定索引 | | short_key | string | 短地址 | | shorturl| string | 完整短链接 | 完整的示例和返回值: ``` Linux: curl -X POST -d '[{"index":"1","link":"http://3url.cn","info":"短链二维码服务平台"},{"index":"2","link":"http://126.com","info":"网易邮箱"}]' "<API网关>/apis/adds?apikey=xxxx&apisecret=xxxx" ``` ``` {"result":0,"message":"ok","data":[{"index":"1","shorturl":"https:\/\/t4a.cn\/B1eC32","short_key":"B1eC32"},{"index":"2","shorturl":"https:\/\/p4r.cn\/p2fYG4","short_key":"p2fYG4"}]} ```