上传日志
分页查看每次上传的结果,失败的会带原因。
| 请求方式 | GET/POST |
|---|---|
| 接口路径 | /api/uploadLog/list |
| Content-Type | - |
| 鉴权 | X-Nideshop-Token |
请求参数
| 参数 | 类型 | 必填 | 位置 |
|---|---|---|---|
curPage | Integer | 否 | URL 参数 |
pageSize | Integer | 否 | URL 参数 |
jobId | long | 否 | URL 参数 |
upStatus | 对象 | 否 | URL 参数 |
operation | 对象 | 否 | URL 参数 |
search | String | 否 | URL 参数 |
curl 调用
curl -s 'https://www.8shu8.com/api/uploadLog/list?curPage=1&pageSize=1&jobId=1&upStatus=xxx&operation=xxx&search=xxx' \ -H 'X-Nideshop-Token: YOUR_LOGIN_TOKEN'
响应示例
data 为分页对象,业务数据在 records。
{
"code": 200,
"message": "操作成功",
"success": true,
"data": {
"records": [
{
"id": 1,
"goodsSn": "string",
"shop": {
"id": 1,
"shopType": "...",
"shopTypeDesc": "string",
"shopName": "string",
"outShopId": "string",
"mallUserId": "string",
"token": "string",
"refreshToken": "string",
"phone": "string",
"userId": 1,
"addTime": "string",
"sellerNick": "string",
"postCostId": 1,
"smartPostSettingId": "string",
"bindStore": true,
"discount": 0.0,
"code": "string",
"second": true,
"minPrice": 0.0,
"twoPiecesDiscount": 1,
"deliveryOneDay": 1,
"waterMark": "string",
"tailImage": "string",
"video": "string",
"titlePrefix": "string",
"titleSuffix": "string",
"importantDesc": "string",
"stockPrefix": "string",
"titleCombine": "string",
"titleCombineList": [
"..."
],
"limitType": "string",
"getLimitTypeList": [
"..."
],
"bsShopFunction": {
"serialVersionUID": "...",
"id": "...",
"addTime": "...",
"shopId": "...",
"functionType": "...",
"enableFlag": "..."
},
"filterSuit": true,
"filterMess": true,
"dueTime": "string",
"shippingFee": 0.0,
"erpShopId": "string",
"erpType": "...",
"supplyId": 1,
"autoDeleteNoStock": true,
"settleType": {
"desc": "..."
},
"genImageWhenNoImage": true,
"followMinPrice": true,
"realTimeFreshPrice": true,
"apiBalance": 1,
"apiNeedMoney": true,
"expireTime": "string",
"tokenExpire": true,
"erpShopName": "string",
"erpShopNo": "string",
"authUrl": "string",
"onWork": true,
"shopLabel": "...",
"bookFlag": true,
"erpInnerId": "string",
"addPrice": 0.0,
"addPricePercent": 0.0,
"pushOrderBs": true,
"kfzAccount": "string",
"kfzPassword": "string",
"kfzToken": "string",
"autoBuyApi": true,
"erpToken": "string",
"appType": "..."
},
"jobId": 1,
"upStatus": "...",
"upStatusDesc": "string",
"addTime": "string",
"operation": "...",
"operationDesc": "string",
"outGoodsId": 1,
"updateTime": "string",
"price": 0.0,
"store": 1,
"title": "string",
"remark": "string",
"productNo": "string",
"image": "string",
"preTime": "string",
"failReason": "string"
}
],
"total": 0,
"size": 10,
"current": 1,
"pages": 0
}
}