审核记录列表
一、请求参数
1、查询审核记录列表,以及审核被驳回的原因; 2、只支持查询近15天提交审核的记录 ;
请求URL:
公共参数
| 参数名称 | 参数类型 | 是否必须 | 示例值 | 参数描述 |
|---|---|---|---|---|
| appid | String | 是 | 合作伙伴AppId | |
| timestamp | String | 是 | 1657525936 | 当前Unix时间戳,秒 |
| seller_nick | String | 是 | 38173182 | 抖店的账号,对应蜂巢授权返回doudianseller字段 |
| sign | String | 是 |
业务参数
| 参数名称 | 参数类型 | 是否必须 | 示例值 | 参数描述 |
|---|---|---|---|---|
| publish_status | Int64 | 是 | 0 | 指定审核状态返回商品列表:0-审核中 1-审核通过 2-审核拒绝 |
| page | Int64 | 是 | 0 | 第几页(第一页为0,最大为99) |
| size | Int64 | 是 | 20 | 每页返回条数,最多支持100条 |
| product_id | Int64 | 否 | 11 | 商品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