最新公告
  • 欢迎您光临三优资源网,本站秉承服务宗旨 履行“站长”责任,销售只是起点 服务永无止境!立即加入我们
  • 预售详情

    接口描述:

    • 预售详情(presale/detail)

    接口版本:

    版本号 制定人 制定日期 修订日期
    1.0.0 wanganlin 2017-03-20 2017-03-25

    请求URL:

    • http://domain/api/v4/presale/detail

    请求方式:

    • GET

    请求头:

    参数名 是否必须 类型 说明
    Content-Type String 请求类型: application/json
    token String 请求内容签名

    请求参数:

    参数名 是否必须 默认值 类型 说明
    act_id String

    返回示例:

    正确时返回:

    {
        "status": "success",
        "data": {
            "presale": {
                "act_id": 18,
                "act_name": "测试活动1",
                "cat_id": 898,
                "user_id": 9,
                "goods_id": 893,
                "goods_name": "Maybelline/美宝莲好气色水润唇部套装 滋润保湿持久显色唇露唇膏",
                "act_desc": "",
                "deposit": "80.00",
                "start_time": "2017-04-01 16:17",
                "end_time": "2017-04-03 00:00",
                "pay_start_time": "2017-06-26 16:17",
                "pay_end_time": "2017-10-06 16:17",
                "is_finished": 0,
                "review_status": 3,
                "review_content": "",
                "pre_num": 0,
                "get_goods": {},
                "shop_price": "168.00",
                "goods_thumb": "http://domain/storage/images/201703/thumb_img/0_thumb_G_1490224521598.jpg",
                "goods_img": "http://domain/storage/images/201703/goods_img/0_G_1490224521570.jpg",
                "market_price": "201.60",
                "sales_volume": 0,
                "goods_desc": "",
                "goods_product_tag": "",
                "xiangou_start_date": 0,
                "xiangou_end_date": 0,
                "xiangou_num": 0,
                "is_xiangou": 0,
                "brand_id": 81,
                "pa_catid": 898,
                "ru_id": 9,
                "formated_start_date": "2017-04-01 16:17",
                "formated_end_date": "2017-04-03 00:00",
                "formated_pay_start_date": "2017-06-26 16:17",
                "formated_pay_end_date": "2017-10-06 16:17",
                "formated_deposit": "¥80.00",
                "final_payment": 88,
                "formated_final_payment": "¥88.00",
                "total_order": 0,
                "total_goods": 0,
                "valid_order": 0,
                "valid_goods": 0,
                "status": 2,
                "collect_count": 0,
                "gmt_end_date": 1491120000,
                "gmt_start_date": 1491005820
            },
            "goods": {
                "goods_id": 893,
                "cat_id": 898,
                "user_cat": 49,
                "user_id": 9,
                "goods_sn": "ECS000893",
                "bar_code": "",
                "goods_name": "Maybelline/美宝莲好气色水润唇部套装 滋润保湿持久显色唇露唇膏",
                "goods_name_style": "+",
                "click_count": 1,
                "brand_id": 81,
                "provider_name": "",
                "goods_number": 1000,
                "goods_weight": "0.000",
                "default_shipping": 0,
                "market_price": "201.60",
                "cost_price": "0.00",
                "shop_price": 168,
                "promote_price": 0,
                "promote_start_date": 0,
                "promote_end_date": 0,
                "warn_number": 1,
                "keywords": "",
                "goods_brief": "",
                "goods_desc": "",
                "desc_mobile": "",
                "goods_thumb": "http://domain/storage/images/201703/thumb_img/0_thumb_G_1490224521598.jpg",
                "goods_img": "http://domain/storage/images/201703/goods_img/0_G_1490224521570.jpg",
                "original_img": "http://domain/storage/images/201703/source_img/0_G_1490224521131.jpg",
                "is_real": 1,
                "extension_code": "",
                "is_on_sale": 0,
                "is_alone_sale": 1,
                "is_shipping": 0,
                "integral": 0,
                "add_time": 1490224524,
                "sort_order": 100,
                "is_delete": 0,
                "is_best": 1,
                "is_new": 1,
                "is_hot": 1,
                "is_promote": 0,
                "is_volume": 0,
                "is_fullcut": 0,
                "bonus_type_id": 0,
                "last_update": 1490918878,
                "goods_type": 0,
                "seller_note": "",
                "give_integral": 0,
                "rank_integral": 0,
                "suppliers_id": 0,
                "is_check": null,
                "store_hot": 0,
                "store_new": 0,
                "store_best": 0,
                "group_number": 0,
                "is_xiangou": 0,
                "xiangou_start_date": 0,
                "xiangou_end_date": 0,
                "xiangou_num": 0,
                "review_status": 3,
                "review_content": "",
                "goods_shipai": "",
                "comments_number": 0,
                "sales_volume": 0,
                "comment_num": 0,
                "model_price": 0,
                "model_inventory": 0,
                "model_attr": 0,
                "largest_amount": "0.00",
                "pinyin_keyword": "Maybelline/meibaolianhaoqiseshuirunchunbutaozhuang zirunbaoshichijiuxiansechunluchungao",
                "goods_product_tag": "",
                "goods_tag": null,
                "stages": false,
                "stages_rate": "0.00",
                "freight": 2,
                "shipping_fee": "0.00",
                "tid": 0,
                "goods_unit": "个",
                "goods_cause": "",
                "dis_commission": "0.00",
                "is_distribution": 0,
                "commission_rate": "0",
                "from_seller": 0,
                "user_brand": 8,
                "product_table": "products",
                "product_id": 0,
                "product_price": "0.00",
                "is_show": 1,
                "product_promote_price": "0.00",
                "cloud_id": 0,
                "cloud_goodsname": "",
                "goods_video": "",
                "is_minimum": 0,
                "minimum_start_date": 0,
                "minimum_end_date": 0,
                "minimum": 0,
                "get_goods_category": {},
                "get_member_price": null,
                "get_warehouse_goods": null,
                "get_warehouse_area_goods": null,
                "get_brand": {},
                "get_goods_extend": {},
                "get_seller_shop_info": {},
                "brand": {},
                "cat_measure_unit": "",
                "brand_name": "宝姿",
                "attr": [],
                "shop_price_formated": "¥168.00",
                "now_promote": 0,
                "watermark_img": "watermark_new",
                "promote_price_org": 0,
                "coupon_count": 0,
                "gallery_list": [],
                "attr_parameter": [],
                "is_collect": 0,
                "use_give_integral": 3360,
                "grade_name": "普通商家",
                "grade_img": "http://domain/storage/data/seller_grade/1490317342721835143.png",
                "grade_introduce": "1111",
                "marketPrice": 201.6,
                "market_price_formated": "¥201.60",
                "promote_price_formated": "",
                "goodsweight": "0.000",
                "isHas_attr": 0,
                "cart_number": "3",
                "goods_extend": {},
                "volume_price_list": [],
                "consumption": [],
                "isdrp": "1",
                "drp": 1,
                "show_goodsnumber": "1",
                "show_marketprice": "1",
                "current_time": 1554330591
            },
            "type": 0,
            "merch_cmt": {
                "0": {
                    "shop_id": 8,
                    "user_id": 9,
                    "region_id": 0,
                    "shoprz_type": 1,
                    "subShoprz_type": 1,
                    "shop_expireDateStart": "2017-03-24 14:01",
                    "shop_expireDateEnd": "2017-03-24 14:01",
                    "shop_permanent": 0,
                    "authorizeFile": "",
                    "shop_hypermarketFile": "",
                    "shop_categoryMain": 860,
                    "user_shopMain_category": "860:876,880,885,891,896,1205,1210",
                    "shoprz_brandName": "美宝莲",
                    "shop_class_keyWords": "美宝莲旗舰店",
                    "shopNameSuffix": "旗舰店",
                    "rz_shopName": "美宝莲",
                    "hopeLoginName": "美宝莲",
                    "merchants_message": "",
                    "allow_number": 0,
                    "steps_audit": 1,
                    "merchants_audit": 1,
                    "review_goods": 0,
                    "sort_order": 6,
                    "store_score": 5,
                    "is_street": 1,
                    "is_IM": 1,
                    "self_run": 0,
                    "shop_close": 1,
                    "add_time": 0,
                    "mc_all_Rank": 0,
                    "mc_one_Rank": 0,
                    "mc_two_Rank": 0,
                    "mc_three_Rank": 0,
                    "mc_four_Rank": 0,
                    "mc_five_Rank": 0,
                    "mc_all_Server": 0,
                    "mc_one_Server": 0,
                    "mc_two_Server": 0,
                    "mc_three_Server": 0,
                    "mc_four_Server": 0,
                    "mc_five_Server": 0,
                    "mc_all_Delivery": 0,
                    "mc_one_Delivery": 0,
                    "mc_two_Delivery": 0,
                    "mc_three_Delivery": 0,
                    "mc_four_Delivery": 0,
                    "mc_five_Delivery": 0
                },
                "cmt": {
                    "commentRank": {
                        "zconments": {
                            "score": 5,
                            "stars": 5,
                            "badReview": 0,
                            "middlReview": 0,
                            "goodReview": 100,
                            "allReview": 100,
                            "allmen": 0,
                            "badmen": 0,
                            "middlemen": 0,
                            "goodmen": 0,
                            "left": 90,
                            "up_down": 97,
                            "is_status": 1
                        }
                    },
                    "commentServer": {
                        "zconments": {
                            "score": 5,
                            "stars": 5,
                            "badReview": 0,
                            "middlReview": 0,
                            "goodReview": 100,
                            "allReview": 100,
                            "allmen": 0,
                            "badmen": 0,
                            "middlemen": 0,
                            "goodmen": 0,
                            "left": 90,
                            "up_down": 97,
                            "is_status": 1
                        }
                    },
                    "commentDelivery": {
                        "zconments": {
                            "score": 5,
                            "stars": 5,
                            "badReview": 0,
                            "middlReview": 0,
                            "goodReview": 100,
                            "allReview": 100,
                            "allmen": 0,
                            "badmen": 0,
                            "middlemen": 0,
                            "goodmen": 0,
                            "left": 90,
                            "up_down": 97,
                            "is_status": 1
                        }
                    },
                    "all_zconments": {
                        "score": "5.00",
                        "allReview": 100,
                        "position": -3
                    }
                }
            },
            "comment_all": {
                "score": 5,
                "stars": 5,
                "badReview": 0,
                "middlReview": 0,
                "goodReview": 100,
                "allReview": 100,
                "allmen": 0,
                "badmen": 0,
                "middlemen": 0,
                "goodmen": 0,
                "left": 90
            },
            "goods_id": 893,
            "basic_info": {},
            "properties": [],
            "default_spe": "",
            "specification": [],
            "goods_img": [],
            "province_row": null,
            "city_row": null,
            "district_row": {},
            "best_goods": [],
            "new_goods": [],
            "hot_goods": [],
            "province_list": [],
            "city_list": [],
            "district_list": [],
            "user_id": 60,
            "shop_price_type": 0,
            "area_id": null,
            "warehouse_list": [],
            "warehouse_name": null,
            "area": {},
            "cfg": {},
            "current_time": 1554330592
        },
        "time": 1554359392
    }

    错误时返回:

    {
        "status": 'failed',
        "errors": {
            "code": 404,
            "message": "message"
        },
        "time": 1553515084
    }

    返回参数说明:

    参数名 类型 说明
    presale List[]
    ├─ act_id Number 预售活动id
    ├─ act_name String 活动名称
    ├─ cat_id Number 分类id
    ├─ user_id Number 商家id
    ├─ goods_id Number 商品id
    ├─ goods_name String 商品名称
    ├─ act_desc String 活动描述
    ├─ deposit String
    ├─ start_time String 开始时间
    ├─ end_time String 结束时间
    ├─ pay_start_time String 支付开始时间
    ├─ pay_end_time String 支付结束时间
    ├─ is_finished Number 是否完成
    ├─ review_status Number 审核状态
    ├─ review_content String 审核内容
    ├─ pre_num Number 预售数量
    ├─ get_goods Number 商品信息
    ├─ shop_price String 商品价格
    ├─ goods_thumb String 商品缩略图
    ├─ goods_img String 商品主图
    ├─ goods_name String 商品名称
    ├─ market_price String 市场价格
    ├─ sales_volume Number 销售信息
    ├─ user_id Number 商家id
    ├─ goods_desc String 商品描述
    ├─ goods_product_tag String 商品货品标签
    ├─ cat_id Number 分类id
    ├─ xiangou_start_date Number 限购开始时间
    ├─ xiangou_end_date Number 限购结束时间
    ├─ xiangou_num Number 限购数量
    ├─ is_xiangou Number 是否开启限购
    ├─ brand_id Number 品牌id
    ├─ pa_catid Number 预售分类id
    ├─ ru_id Number 商家id
    ├─ formated_start_date String 开始时间
    ├─ formated_end_date String 结束时间
    ├─ formated_pay_start_date String 支付开始时间
    ├─ formated_pay_end_date String 支付结束时间
    ├─ formated_deposit String
    ├─ final_payment Decimal
    ├─ formated_final_payment String
    ├─ total_order Number
    ├─ total_goods Number
    ├─ valid_order Number
    ├─ valid_goods Number
    ├─ status Number
    ├─ collect_count Number
    ├─ gmt_end_date Number
    ├─ gmt_start_date Number
    goods List[] 商品信息
    type Number 类型
    merch_cmt List[]
    ├─ shop_id Number
    ├─ user_id Number
    ├─ region_id Number
    ├─ shoprz_type Number
    ├─ subShoprz_type Number
    ├─ shop_expireDateStart String
    ├─ shop_expireDateEnd String
    ├─ shop_permanent Number
    ├─ authorizeFile String
    ├─ shop_hypermarketFile String
    ├─ shop_categoryMain Number
    ├─ user_shopMain_category String
    ├─ shoprz_brandName String
    ├─ shop_class_keyWords String
    ├─ shopNameSuffix String
    ├─ rz_shopName String
    ├─ hopeLoginName String
    ├─ merchants_message String
    ├─ allow_number Number
    ├─ steps_audit Number
    ├─ merchants_audit Number
    ├─ review_goods Number
    ├─ sort_order Number
    ├─ store_score Number
    ├─ is_street Number
    ├─ is_IM Number
    ├─ self_run Number
    ├─ shop_close Number
    ├─ add_time Number
    ├─ mc_all_Rank Number
    ├─ mc_one_Rank Number
    ├─ mc_two_Rank Number
    ├─ mc_three_Rank Number
    ├─ mc_four_Rank Number
    ├─ mc_five_Rank Number
    ├─ mc_all_Server Number
    ├─ mc_one_Server Number
    ├─ mc_two_Server Number
    ├─ mc_three_Server Number
    ├─ mc_four_Server Number
    ├─ mc_five_Server Number
    ├─ mc_all_Delivery Number
    ├─ mc_one_Delivery Number
    ├─ mc_two_Delivery Number
    ├─ mc_three_Delivery Number
    ├─ mc_four_Delivery Number
    ├─ mc_five_Delivery Number
    ├─ commentRank List[]
    ├─ commentServer List[]
    ├─ commentDelivery List[]
    ├─ all_zconments List[]
    comment_all List[]
    ├─ score Number
    ├─ stars Number
    ├─ badReview Number
    ├─ middlReview Number
    ├─ goodReview Number
    ├─ allReview Number
    ├─ allmen Number
    ├─ badmen Number
    ├─ middlemen Number
    ├─ goodmen Number
    ├─ left Number
    goods_id Number 商品id
    basic_info List[] 店铺基本信息
    properties List[] 属性列表
    default_spe String 默认属性
    specification List[] 规格
    goods_img List[] 商品相册图
    province_row List[] 省份
    city_row List[] 城市
    district_row List[] 地区
    best_goods List[] 推荐列表
    new_goods List[] 新品列表
    hot_goods List[] 热门商品列表
    province_list List[] 省份列表
    city_list List[] 城市列表
    district_list List[] 地区列表
    user_id Number 商家id
    shop_price_type Number
    area_id Number 地区id
    warehouse_list List[] 仓库列表
    warehouse_name String 仓库名称
    area List[] 地区列表
    cfg List[] 配置信息
    current_time Number 当前时间

    备注:

    • 更多返回错误代码请看首页的错误代码描述
    1. 本站所有资源来源于用户上传和网络,因此不包含技术服务请大家谅解!如有侵权请邮件联系客服!3165260857@qq.com
    2. 本站不保证所提供下载的资源的准确性、安全性和完整性,资源仅供下载学习之用!如有链接无法下载、失效或广告,请联系客服处理,有奖励!
    3. 您必须在下载后的24个小时之内,从您的电脑中彻底删除上述内容资源!如用于商业或者非法用途,与本站无关,一切后果请用户自负!
    4. 如果您也有好的资源或教程,您可以投稿发布,成功分享后有站币奖励和额外收入!


    三优资源网 » 预售活动presale/detail 预售详情

    常见问题FAQ

    免费下载或者VIP会员专享资源能否直接商用?
    本站所有资源版权均属于原作者所有,这里所提供资源均只能用于参考学习用,请勿直接商用。若由于商用引起版权纠纷,一切责任均由使用者承担。更多说明请参考 VIP介绍。
    提示下载完但解压或打开不了?
    最常见的情况是下载不完整: 可对比下载完压缩包的与网盘上的容量,若小于网盘提示的容量则是这个原因。这是浏览器下载的bug,建议用百度网盘软件或迅雷下载。若排除这种情况,可在对应资源底部留言,或 联络我们.。
    找不到素材资源介绍文章里的示例图片?
    对于PPT,KEY,Mockups,APP,网页模版等类型的素材,文章内用于介绍的图片通常并不包含在对应可供下载素材包内。这些相关商业图片需另外购买,且本站不负责(也没有办法)找到出处。 同样地一些字体文件也是这种情况,但部分素材会在素材包内有一份字体下载链接清单。
    三优资源网
    一个高级程序员模板开发平台

    发表评论

    发表评论

    • 93会员总数(位)
    • 720资源总数(个)
    • 0本周发布(个)
    • 0 今日发布(个)
    • 178稳定运行(天)

    提供最优质的资源集合

    立即查看 了解详情