🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 砍价 ~~~[api] post:/bargain/api/goods/detail *token#会员token *id#砍价商品主键id <<< success { "code": 0, "message": "操作成功", "data": { "goods_sku_detail": { "id": 1, "bargain_id": 1, "goods_id": 0, "sku_id": 1, "floor_price": "2999.00", "bargain_stock": 100, "bargain_name": "砍价活动1", "start_time": 1595320569, "end_time": 1597912569, "buy_type": 1, "site_id": 1, "sku_name": "华为 HUAWEI Mate 30 麒麟990旗舰芯片4000万超感光徕卡影像屏内指纹8G+128GB亮黑色4G全网通版 星河银", "sku_spec_format": "[{\"spec_id\":-822,\"spec_name\":\"\\u989c\\u8272\",\"spec_value_id\":-1776,\"spec_value_name\":\"\\u661f\\u6cb3\\u94f6\",\"image\":\"\"}]", "price": "3599.00", "promotion_type": 0, "stock": 100, "click_num": 9, "sale_num": 0, "collect_num": 0, "sku_image": "upload\/1\/common\/images\/20200721\/20200721044522159532112290640.jpg", "sku_images": "upload\/1\/common\/images\/20200721\/20200721044522159532112290640.jpg", "goods_content": "<ul class=\"p-parameter-list list-paddingleft-2\" style=\"list-style-type: none;\"><li><p>品牌:&nbsp;<a href=\"https:\/\/list.jd.com\/list.html?cat=9987,653,655&ev=exbrand_8557\" target=\"_blank\" style=\"margin: 0px; padding: 0px; color: rgb(94, 105, 173); text-decoration-line: none;\">华为(HUAWEI)<\/a><\/p><\/li><li><p>商品名称:华为Mate 30<\/p><\/li><li><p>商品编号:100004788065<\/p><\/li><li><p>商品毛重:0.546kg<\/p><\/li><li><p>商品产地:中国大陆<\/p><\/li><li><p>CPU型号:麒麟990<\/p><\/li><li><p>运行内存:8GB<\/p><\/li><li><p>机身存储:128GB<\/p><\/li><li><p>存储卡:NM存储卡<\/p><\/li><li><p>摄像头数量:后置三摄<\/p><\/li><li><p>后摄主摄像素:4000万像素<\/p><\/li><li><p>前摄主摄像素:2400万像素<\/p><\/li><li><p>主屏幕尺寸(英寸):6.62英寸 备注:显示屏采用圆角设计,按照标准矩形测量时,屏幕的对角线长度是6.62英寸(实际可视区域略小)<\/p><\/li><li><p>分辨率:其它分辨率<\/p><\/li><li><p>屏幕比例:其它屏幕比例<\/p><\/li><li><p>屏幕前摄组合:其他<\/p><\/li><li><p>充电器:其他;5V\/2A;9V\/2A;10V\/4A<\/p><\/li><li><p>操作系统:Android(安卓)<\/p><\/li><li><p>游戏性能:发烧级<\/p><\/li><\/ul><p class=\"more-par\" style=\"margin-top: -5px; margin-bottom: 0px; padding: 0px 20px 0px 0px; text-align: right;\"><a href=\"https:\/\/item.jd.com\/100004788065.html#product-detail\" class=\"J-more-param\" style=\"margin: 0px; padding: 0px; color: rgb(0, 90, 160); text-decoration-line: none;\">更多参数<span class=\"txt-arr\">&gt;&gt;<\/span><\/a><\/p><p><a href=\"https:\/\/pro.jd.com\/mall\/active\/2Ee1HUx3Yvu21pUtB3gUjEdWYNJY\/index.html\" target=\"_blank\" style=\"margin: 0px; padding: 0px; color: rgb(102, 102, 102); text-decoration-line: none;\"><img alt=\"\" class=\"\" src=\"https:\/\/img30.360buyimg.com\/jgsq-productsoa\/jfs\/t1\/116008\/11\/12723\/128198\/5f14ec12Ea69b6d46\/7980b725368676b0.jpg\"\/><\/a><\/p><p><br\/><\/p><center><img class=\"\" src=\"http:\/\/img20.360buyimg.com\/vc\/jfs\/t1\/78696\/16\/11566\/195886\/5d8daf86Efebb0a96\/1797cdfc57bed506.jpg\"\/>&nbsp;<img class=\"\" src=\"http:\/\/img20.360buyimg.com\/vc\/jfs\/t1\/47676\/8\/16789\/186151\/5ddcfe7aE972ab628\/4d2949b425b32212.jpg\"\/>&nbsp;<img class=\"\" src=\"http:\/\/img20.360buyimg.com\/vc\/jfs\/t1\/88465\/32\/17532\/3932328\/5e85a362E6ed1032f\/b3cc23d6ea1c6f97.jpg\"\/><\/center><p><br\/><\/p>", "goods_state": 1, "is_virtual": 0, "is_free_shipping": 1, "goods_spec_format": "[{\"spec_id\":-822,\"spec_name\":\"\\u989c\\u8272\",\"value\":[{\"spec_id\":-822,\"spec_name\":\"\\u989c\\u8272\",\"spec_value_id\":-1776,\"spec_value_name\":\"\\u661f\\u6cb3\\u94f6\",\"image\":\"\",\"selected\":true,\"sku_id\":1},{\"spec_id\":-822,\"spec_name\":\"\\u989c\\u8272\",\"spec_value_id\":-1421,\"spec_value_name\":\"\\u4eae\\u9ed1\\u8272\",\"image\":\"\",\"selected\":false,\"sku_id\":2},{\"spec_id\":-822,\"spec_name\":\"\\u989c\\u8272\",\"spec_value_id\":-919,\"spec_value_name\":\"\\u7f57\\u5170\\u7d2b\",\"image\":\"\",\"selected\":false,\"sku_id\":3}]}]", "goods_attr_format": "", "introduction": "【直降400,到手价3599】麒麟990芯片,4000万超感光徕卡影像屏内指纹;爆款至高立省800》", "unit": "", "video_url": "", "evaluate": 0, "goods_service_ids": "7,6,5,4", "goods_service": [] } }, "timestamp": 1595322120 } <<< error { } 这里填写错误的返回码 以此类推,每个状态使用 <<< 分割, 第一行添加状态名称 ~~~