接口 product.operators.product.list

接口说明

分页获取运营商当前的所有商品

业务参数

参数名称 类型 是否必须 说明
page Number N 页码默认为 1
pageSize Number N 每页数据量,默认为 10
criteria Object N 查询条件
criteria.CreateAt int N 大于等于 CreateAt(时间戳)

返回示例

{
    "error_code": 0,
    "error_msg": "SUCCESS",
    "data": {
        "total": 1,
        "per_page": 10,
        "current_page": 1,
        "last_page": 1,
        "from": 0,
        "to": 10,
        "data": [
            {
                "OID": "5c67c5678816f200124dbb7f",
                "BarCode": "6954767410586",
                "PayExtend": "", // 第三方支付会携带此信息
                "VerifyRules": [],
                "SpecBarCode": false, // 收银台会判断此属性
                "Price": 2,
                "ParentCategoryID": "58e6ee4369c7ef1100ad2f06", // 商品一级分类
                "CategoryID": "58f0922f0c8ea811005dbaa5", // 商品二级分类
                "ProductID": "",
                "ImageUrl": "", // 商品图片 5*4 虚拟货架用此图片
                "ImageFixWidthUrl": "", // 商品虚拟货架展示图
                "IsSelfImage": 0,
                "SpecQty": 0,
                "DescImageUrl": [], // 竖屏详情图
                "HorizontalDescImageUrl": [], // 横屏详情图
                "InnerCode": "",
                "CreateAt": 1555998654,
                "UpdatedAt": 1555998654,
                "id": "5cbea7be194f7000102138a0",
                "ProductVO": {
            "AssemblyCountry": "",
            "BarCode": "88888882",
            "Brand": "", // 品牌
            "CategoryID": "599e779391b4b3000f3a2626",
            "ColdStatus": true,
            "HotStatus": false,
            "Depth": 0,
            "Description": "",
            "EName": "",
            "GrossWeight": 0,
            "Height": 0,
            "Manufacturer": "123",
            "Name": "123",
            "NetContent": 0,
            "NetWeight": 0,
            "OriginCountry": "",
            "OriginPlace": "",
            "PackageType": "",
            "Pic": "",
            "Price": 0,
            "Type": "",
            "UnSpsc": "",
            "Width": 0,
            "Composition": "",
            "Nutrition": "",
            "ImageUrl": "http://dev-res.yopoint.cc/operators/201810.png", // 图片
            "ImageFixWidthUrl": "http://dev-res.yopoint.cc/operators/20181009/3658c06d97f5b4bd3ff73140946b2168.png", // 等比例
            "ColSpan": 1,
            "OID": "58ec9336482c071100c4a8e4",
            "BID": "",
            "Status": 1,
            "AdResources": [],
            "ProductSuggestion": [],
            "ParentCategoryID": "58f094160f5dbd1100568db3",
            "CreateAt": 1540387820,
            "UpdatedAt": 1556046347,
            "OperatorsCount": 2,
            "OrderCount": 0,
            "ProcessStatus": 0,
            "Tags": [
                "系统改为公有"
            ],
            "id": "5bd073ecb1e8a6135ba8c36c",
            "ImageUrlList": [
                {
                    "ImageUrl": "http://dev-res.yopoint.cc/operators/20181009/3658c06d97f5b4bd3ff73140946b2168.png",
                    "ImageFixWidthUrl": "http://dev-res.yopoint.cc/operators/20181009/3658c06d97f5b4bd3ff73140946b2168.png"
                }
            ]
        }
            }
        ]
    }
}
Copyright © YoPoint.com 2019 all right reserved,powered by Gitbook该文件修订时间: 2024-01-04 16:21:22

results matching ""

    No results matching ""