大平台——App客户端接口

App接口


跑腿物品信息4.5

<p><strong>简要描述:</strong> </p> <ul> <li>用户端跑腿物品信息</li> </ul> <p><strong>作者:</strong> </p> <ul> <li>黄丹明</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>/xtwl_read_interface/cmd</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必填</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">custId</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>客户id</td> </tr> <tr> <td style="text-align: left;">type</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>类别:1取送件,2代购</td> </tr> </tbody> </table> <p><strong>请求示例</strong></p> <pre><code>{ "modular": "useraccount", "param": { "authKey": "0", "dtype": "5", "secretKey": "83FB1F39FD54418050C9E157032FDD30", "timeStamp": "1537166557092", "userKey": "760BCDB3B1D64F9FE053161EA8C0AB91", "uuid": "51658f96-7138-41f8-9d97-c9780e0282d8", "custId": "D78AEA3418834147BE226395B0309642", "type":1 }, "requestname": "queryRGoods", "version": "4.5" } </code></pre> <p><strong>返回参数说明</strong> resultcode:1001,未营业。</p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">info</td> <td style="text-align: left;"><strong>bean</strong></td> <td>物品重量体积最大值</td> </tr> <tr> <td style="text-align: left;">volume</td> <td style="text-align: left;">String</td> <td>体积</td> </tr> <tr> <td style="text-align: left;">weight</td> <td style="text-align: left;">String</td> <td>重量</td> </tr> <tr> <td style="text-align: left;">priceCfg</td> <td style="text-align: left;"><strong>集合<String> </strong></td> <td>取送件价格配置信息</td> </tr> <tr> <td style="text-align: left;">rGoodsList</td> <td style="text-align: left;"><strong>集合 </strong></td> <td>物品集合</td> </tr> <tr> <td style="text-align: left;">goodsId</td> <td style="text-align: left;">String</td> <td>物品id</td> </tr> <tr> <td style="text-align: left;">name</td> <td style="text-align: left;">String</td> <td>物品名称</td> </tr> <tr> <td style="text-align: left;">price</td> <td style="text-align: left;">string</td> <td>特殊物品附加费,为0不需要展示</td> </tr> <tr> <td style="text-align: left;">isSpecial</td> <td style="text-align: left;">string</td> <td>是否特殊物品:1是0否</td> </tr> <tr> <td style="text-align: left;">descList</td> <td style="text-align: left;">集合</td> <td>代购物品快捷描述集合</td> </tr> <tr> <td style="text-align: left;">goodsDesc</td> <td style="text-align: left;">String</td> <td>物品快捷描述</td> </tr> <tr> <td style="text-align: left;">weightPriceList</td> <td style="text-align: left;"><strong>集合</strong></td> <td>重量附加列表</td> </tr> <tr> <td style="text-align: left;">minWeight</td> <td style="text-align: left;">String</td> <td>重量下限</td> </tr> <tr> <td style="text-align: left;">maxWeight</td> <td style="text-align: left;">String</td> <td>重量上限</td> </tr> <tr> <td style="text-align: left;">weightAttach</td> <td style="text-align: left;">String</td> <td>重量固定收费及超出固定收费后的每公斤附加费。</td> </tr> <tr> <td style="text-align: left;">info.ptAmount</td> <td style="text-align: left;">string</td> <td>跑腿可用抵扣金额</td> </tr> <tr> <td style="text-align: left;">info.bigRebate</td> <td style="text-align: left;">String</td> <td>大包跑腿下单返佣金额</td> </tr> <tr> <td style="text-align: left;">info.bigDeliveryBase</td> <td style="text-align: left;">String</td> <td>大包跑腿发货基础价</td> </tr> <tr> <td style="text-align: left;">info.bigArrivalBase</td> <td style="text-align: left;">String</td> <td>大包跑腿到货基础价</td> </tr> <tr> <td style="text-align: left;">info.mediumRebate</td> <td style="text-align: left;">String</td> <td>中包跑腿下单返佣金额</td> </tr> <tr> <td style="text-align: left;">info.mediumDeliveryBase</td> <td style="text-align: left;">String</td> <td>中包跑腿发货基础价</td> </tr> <tr> <td style="text-align: left;">info.mediumArrivalBase</td> <td style="text-align: left;">String</td> <td>中包跑腿到货基础价</td> </tr> <tr> <td style="text-align: left;">info.smallRebate</td> <td style="text-align: left;">String</td> <td>小包跑腿下单返佣金额</td> </tr> <tr> <td style="text-align: left;">info.smallDeliveryBase</td> <td style="text-align: left;">String</td> <td>小包跑腿发货基础价</td> </tr> <tr> <td style="text-align: left;">info.smallArrivalBase</td> <td style="text-align: left;">String</td> <td>小包跑腿到货基础价</td> </tr> <tr> <td style="text-align: left;">info.copyWriting</td> <td style="text-align: left;">String</td> <td>跑腿可编辑文案</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>取送件 { "result": { "info": { "volume": "0.3", "weight": "5" }, "priceCfg": [ "50元以下", "50-100元", "100-300元", "300-500元", "500-1000元", "1000-2000元", "2000-3000元" ], "rGoodsList": [ { "descList": [], "goodsId": "A5A9BD37ED601A17E053191EA8C0FB3D", "isSpecial": "0", "name": "食品饮料", "price": 0 }, { "descList": [], "goodsId": "A5A9BD37EE381A17E053191EA8C0FB3D", "isSpecial": "0", "name": "文件", "price": 0 }, { "descList": [], "goodsId": "A5A9BD37EF101A17E053191EA8C0FB3D", "isSpecial": "0", "name": "鲜花", "price": 0 }, { "descList": [], "goodsId": "A5A9BD37EFE81A17E053191EA8C0FB3D", "isSpecial": "0", "name": "蛋糕", "price": 0 }, { "descList": [], "goodsId": "A5A9BD37F0C01A17E053191EA8C0FB3D", "isSpecial": "0", "name": "水果生鲜", "price": 0 }, { "descList": [], "goodsId": "A5A9BD37F1981A17E053191EA8C0FB3D", "isSpecial": "0", "name": "钥匙", "price": 0 }, { "descList": [], "goodsId": "A5A9BD37F2701A17E053191EA8C0FB3D", "isSpecial": "0", "name": "数码产品", "price": 0 }, { "descList": [], "goodsId": "A5A9BD37F3481A17E053191EA8C0FB3D", "isSpecial": "0", "name": "服饰鞋帽", "price": 0 }, { "descList": [], "goodsId": "A5A9BD37F4201A17E053191EA8C0FB3D", "isSpecial": "0", "name": "其他", "price": 0 } ], "weightPriceList": [ { "maxWeight": 5, "minWeight": 0, "weightAttach": "5.5" }, { "maxWeight": 10, "minWeight": 5, "weightAttach": "1.3" }, { "maxWeight": 20, "minWeight": 10, "weightAttach": "2" }, { "maxWeight": 30, "minWeight": 20, "weightAttach": "1" } ] }, "resultcode": "0", "resultdesc": "success" } 代购 { "result": { "rGoodsList": [ { "descList": [ { "goodsDesc": "冰糖葫芦" }, { "goodsDesc": "糖炒栗子" }, { "goodsDesc": "酸奶" }, { "goodsDesc": "煎饼" }, { "goodsDesc": "奶茶" }, { "goodsDesc": "炸鸡" }, { "goodsDesc": "鸭脖" }, { "goodsDesc": "馄饨" }, { "goodsDesc": "烤肉饭" }, { "goodsDesc": "水饺" }, { "goodsDesc": "生煎" }, { "goodsDesc": "1份" }, { "goodsDesc": "与我联系" }, { "goodsDesc": "需要小票" } ], "goodsId": "A5A9BD37E6A01A17E053191EA8C0FB3D", "isSpecial": "0", "name": "小吃", "price": 0 }, { "descList": [ { "goodsDesc": "星巴克" }, { "goodsDesc": "coast咖世家" }, { "goodsDesc": "黑森林拿铁" }, { "goodsDesc": "卡布奇诺" }, { "goodsDesc": "拿铁" }, { "goodsDesc": "美式" }, { "goodsDesc": "摩卡" }, { "goodsDesc": "馥芮白" }, { "goodsDesc": "焦糖玛奇朵" }, { "goodsDesc": "抹茶星冰乐" }, { "goodsDesc": "超大杯" }, { "goodsDesc": "大杯" }, { "goodsDesc": "中杯" }, { "goodsDesc": "热的" }, { "goodsDesc": "冰的" }, { "goodsDesc": "1杯" }, { "goodsDesc": "与我联系" }, { "goodsDesc": "需要小票" } ], "goodsId": "A5A9BD37E7781A17E053191EA8C0FB3D", "isSpecial": "0", "name": "咖啡", "price": 0 }, { "descList": [ { "goodsDesc": "啤酒" }, { "goodsDesc": "白酒" }, { "goodsDesc": "红酒" }, { "goodsDesc": "威士忌" }, { "goodsDesc": "青岛" }, { "goodsDesc": "百威" }, { "goodsDesc": "雪花" }, { "goodsDesc": "五粮液" }, { "goodsDesc": "剑南春" }, { "goodsDesc": "二锅头" }, { "goodsDesc": "开瓶器" }, { "goodsDesc": "1瓶" }, { "goodsDesc": "1罐" }, { "goodsDesc": "与我联系" }, { "goodsDesc": "需要小票" } ], "goodsId": "A5A9BD37E8501A17E053191EA8C0FB3D", "isSpecial": "0", "name": "酒水", "price": 0 }, { "descList": [ { "goodsDesc": "999感冒灵" }, { "goodsDesc": "体温计" }, { "goodsDesc": "滴眼液" }, { "goodsDesc": "隐形镜护理液" }, { "goodsDesc": "隐形眼镜" }, { "goodsDesc": "避孕药" }, { "goodsDesc": "验孕棒" }, { "goodsDesc": "避孕套" }, { "goodsDesc": "芬必得" }, { "goodsDesc": "1盒" }, { "goodsDesc": "与我联系" }, { "goodsDesc": "需要小票" } ], "goodsId": "A5A9BD37E9281A17E053191EA8C0FB3D", "isSpecial": "0", "name": "药品", "price": 0 }, { "descList": [ { "goodsDesc": "香蕉" }, { "goodsDesc": "橙子" }, { "goodsDesc": "桔子" }, { "goodsDesc": "枣" }, { "goodsDesc": "梨" }, { "goodsDesc": "圣女果" }, { "goodsDesc": "苹果" }, { "goodsDesc": "葡萄" }, { "goodsDesc": "榴莲" }, { "goodsDesc": "橘子" }, { "goodsDesc": "1斤" }, { "goodsDesc": "与我联系" }, { "goodsDesc": "需要小票" } ], "goodsId": "A5A9BD37EA001A17E053191EA8C0FB3D", "isSpecial": "0", "name": "水果", "price": 0 }, { "descList": [ { "goodsDesc": "肯德基" }, { "goodsDesc": "烧饼" }, { "goodsDesc": "煎饼" }, { "goodsDesc": "麦当劳" }, { "goodsDesc": "皮蛋瘦肉粥" }, { "goodsDesc": "豆浆" }, { "goodsDesc": "油条" }, { "goodsDesc": "包子" }, { "goodsDesc": "甜玉米" }, { "goodsDesc": "1份" }, { "goodsDesc": "与我联系" }, { "goodsDesc": "需要小票" } ], "goodsId": "A5A9BD37EAD81A17E053191EA8C0FB3D", "isSpecial": "0", "name": "早餐", "price": 0 }, { "descList": [ { "goodsDesc": "红牛" }, { "goodsDesc": "脉动" }, { "goodsDesc": "农夫山泉" }, { "goodsDesc": "怡宝" }, { "goodsDesc": "酸奶" }, { "goodsDesc": "纯牛奶" }, { "goodsDesc": "果汁" }, { "goodsDesc": "立顿果茶" }, { "goodsDesc": "可乐" }, { "goodsDesc": "无糖可乐" }, { "goodsDesc": "七喜" }, { "goodsDesc": "苏打水" }, { "goodsDesc": "矿泉水" }, { "goodsDesc": "维他柠檬茶" }, { "goodsDesc": "1瓶" }, { "goodsDesc": "1罐" }, { "goodsDesc": "与我联系" }, { "goodsDesc": "需要小票" } ], "goodsId": "A5A9BD37EBB01A17E053191EA8C0FB3D", "isSpecial": "0", "name": "饮料", "price": 0 }, { "descList": [ { "goodsDesc": "苹果数据线" }, { "goodsDesc": "安卓数据线" }, { "goodsDesc": "暖宝宝" }, { "goodsDesc": "雨伞" }, { "goodsDesc": "卫生巾" }, { "goodsDesc": "纸巾" }, { "goodsDesc": "胶带" }, { "goodsDesc": "洗发水" }, { "goodsDesc": "电池" }, { "goodsDesc": "插座" }, { "goodsDesc": "扑克牌" }, { "goodsDesc": "与我联系" }, { "goodsDesc": "需要小票" } ], "goodsId": "A5A9BD37EC881A17E053191EA8C0FB3D", "isSpecial": "0", "name": "日用", "price": 0 } ] }, "resultcode": "0", "resultdesc": "success" } </code></pre> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML