跳转到内容
返回官网

审核记录列表

一、请求参数

1、查询审核记录列表,以及审核被驳回的原因; 2、只支持查询近15天提交审核的记录 ;

请求URL:

POST https://kf.fw199.com/gateway/dd/product/auditlist

公共参数

参数名称参数类型是否必须示例值参数描述
appidString合作伙伴AppId
timestampString1657525936当前Unix时间戳,秒
seller_nickString38173182抖店的账号,对应蜂巢授权返回doudianseller字段
signString

业务参数

参数名称参数类型是否必须示例值参数描述
publish_statusInt640指定审核状态返回商品列表:0-审核中 1-审核通过 2-审核拒绝
pageInt640第几页(第一页为0,最大为99)
sizeInt6420每页返回条数,最多支持100条
product_idInt6411商品id

二、请求示例代码

Java

请求示例代码

@Test
public void DDProductAuditlist() throws Exception {
Map<String, Object> data = new HashMap<String, Object>();
data.put("appid", Config.AppId);
Long timestamp = System.currentTimeMillis() / 1000;
data.put("timestamp", timestamp.toString());
data.put("seller_nick", Config.DDSellerNick);
data.put("publish_status","0" );
data.put("page","0" );
data.put("size","20" );
data.put("product_id","3668963015870513459" );
data.put("sign", Sign(data,Config.AppSecret));
// 调用服务API
String resp = doHttpRequest(Config.DDProductAuditList, data);
System.out.println(resp);
}

三、返回结果

如果有数据

{
"code": 0,
"message": "ok",
"data": {
"records": [
{
"audit_reason": {},
"audit_time": 0,
"img_url": "https://p3-aio.ecombdimg.com/obj/ecom-shop-material/ZfkBZpcR_m_a52fca81e35ed9807286b4a775def22d_sx_922856_www1462-1462",
"product_id": 3723365663813796000,
"publish_status": 0,
"publish_time": 1733827928,
"title": "第3代热敏打印机"
}
],
"total": 1
}
}

如果没有记录

{"code":0,"message":"ok","data":{"records":[],"total":0}}

说明: code为0表示成功,非0为失败,message会包含失败原因。返回字段说明见文档 https://op.jinritemai.com/docs/api-docs/14/1748