# 获取某个达人平台可推广文章列表
# 接口说明
可通过该接口,可获取某个达人平台可推广文章列表
# 接口调用请求说明
POST https://api.weixin.qq.com/channels/ec/promoter/get_talent_biz_article_list?access_token=ACCESS_TOKEN
# 请求参数说明
参数 | 类型 | 是否必填 | 描述 |
---|---|---|---|
talent_appid | string | 是 | 达人平台 appid |
next_key | string | 是 | 分页参数,第一页为空,后面返回前面一页返回的数据 |
page_size | number | 是 | 一页获取多少个数据,最大 10 |
sharer_appid | string | 否 | 推客appid【为了生成某个推客推广的 link】 |
# 请求参数示例
{
"next_key": "",
"talent_appid":"123123",
"page_size": 10
}
# 返回参数说明
参数 | 类型 | 描述 |
---|---|---|
errcode | number | 错误码 |
errmsg | string | 错误信息 |
next_key | string | 下一页的请求参数 |
has_more | bool | 是否还有下一页 |
article_list | array object ArticleInfo | 文章列表 |
# 结构体
# ArticleInfo
文章信息
参数 | 类型 | 描述 |
---|---|---|
create_time | number | 创建时间 |
update_time | number | 更新时间 |
product_info_list | array object ProductInfo | 商品列表 |
article_info | object ArticleBaseInfo | 文章信息 |
# ProductInfo
商品信息
参数 | 类型 | 描述 |
---|---|---|
product_id | number | 商品 id |
product_name | string | 商品名称 |
product_img_url | string | 商品图片 |
predict_commission_amount | number | 机构预计可得佣金【单位:分】 |
# ArticleBaseInfo
文章基础信息
参数 | 类型 | 描述 |
---|---|---|
article_title | string | 文章标题 |
cover_image | string | 文章封面图 |
article_url | string | 文章 url 内容 |
promoter_share_link | string | 文章推广参数 |
# 返回参数示例
{
"errcode": 0,
"errmsg": "ok",
"next_key": "",
"has_more": false,
"article_list": [
{
"product_info_list": [
{
"product_id": 123,
"product_name": "name",
"product_img_url": "imag_url",
"predict_commission_amount": 123
}
],
"article_info": {
"article_title": "title",
"cover_image": "image",
"article_url": "url",
"promoter_share_link": "promoter_share_link"
},
"create_time": 1736864136,
"update_time": 1736864136
}
]
}
# 小程序开发调用说明
// jsapi调用
wx.openOfficialAccountArticle({
"url": "${article_url}",
"promoterShareLink": "${promoter_share_link}"
})
// 将promoter share link拼在url中,用于直接跳转至网页或者复制到其他地方打开
const jumpUrl = `${article_url}?promoterShareLink=${promoter_share_link}`
# 错误码
错误码 | 错误描述 |
---|---|
公共错误码 | - |
10024000 | 参数错误 |