阅读( 1 ) 我要纠错

简要描述:

  • 开品实验室--开品列表

请求域名:

  • http://xx.com

请求URL:

GET/plugin.kaipin-laboratory.frontend.product-plaza.get-product-detail

参数:

参数名 是否必须 类型 说明
id 是 int 开品id

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "cycle": 30,
        "id": 1,
        "uniacid": 1,
        "manufacturer_id": 5,
        "category_id": 4,
        "name": "戴拿",
        "price": "800.00",
        "status": 1,
        "expect": "10",
        "ongoing": "20",
        "complete": "30",
        "main_images": "http://www.shop777.com/static/upload/images/1/2024/04/a58ac15c1a88989af02654b68d1568d4.jpg",
        "qr_images": "images/1/2024/05/9785d96617af51ffe54db6c095c708f7.jpg",
        "total_amount": 1000,
        "unit": "个",
        "is_disclosure": 0,
        "tel": "13751611472",
        "diy_copywriting": "

\n

\n

\n

\n

", "created_at": "2024-06-17 14:54:42", "deleted_at": null, "updated_at": "2024-06-19 14:06:11", "positive_review_rate": "100.00", "comment": [ { "id": 1, "uniacid": 1, "product_id": 1, "member_id": 1, "content": "99999999", "is_public": 1, "parent_id": 0, "reply_id": 0, "images": null, "score": 5, "is_shop": 0, "is_show": 1, "is_top": 0, "is_reply": 1, "created_at": null, "deleted_at": null, "updated_at": "2024-06-20 16:00:12" } ], "main_images_url":[ "http://www.shop777.com/static/upload/images/1/2024/04/a58ac15c1a88989af02654b68d1568d4.jpg", "http://www.shop777.com/static/upload/images/1/2024/04/4d1d15e21ce57907f701b37d1d0bb46b.gif", "http://www.shop777.com/static/upload/newimage/1bf039266981330e8563577da5926b6f.jpg", "http://www.shop777.com/static/upload/images/1/2024/01/0b20441de360c4e590b26e50eed1dc01.jpg", "http://www.shop777.com/static/upload/images/1/2024/01/241fed586ea860e69064ce029009144c.jpg", "http://www.shop777.com/static/upload/images/1/2024/01/7ffd8413e76ef66b13a7b1f73e1144b5.gif", "http://www.shop777.com/static/upload/images/1/2024/01/7e0110b949dd53e631493858ef224b8c.jpg", "http://www.shop777.com/static/upload/images/1/2023/11/e91c1d2ca453e1c2179c16f3326c830f.jpg" ], "qr_images_url": "http://www.shop777.com/static/upload/images/1/2024/05/9785d96617af51ffe54db6c095c708f7.jpg", "number_applicants": 0, "total_price": 0, "status_name": "已开品", "is_sign_up":true } }

错误时返回:


返回参数说明:

参数名 类型 说明
id int 开品id
cycle int 周期
main_images_url array 主图数组
price string 开品价格
qr_images_url string 开品价格
total_amount int 开品总量
unit string 单位
status int 状态, 0 待开品,1 已开品,2 出品种,3已完成, -1 开品失败', 只有待开品状态才可以报名
status_name string 状态名称
is_sign_up bool 是否已参加, true已参加,false未参加
expect int 待开品到预计开品时间
ongoing int 预计开品到出品中时间
complete int 出品中到完成开品时间
tel int 电话
diy_copywriting string 自定义文案
positive_review_rate string 好评率
number_applicants int 报名人数
total_price string 报名保证金
comment.id int 开品评论id
comment.product_id int 开品id
comment.content int 品论内容
comment.id int 开品评论id
comment.images array 评论图片数组
comment.score int 评分
set.explain string 待开品
set.explain_open string 已开品
set.explain_ing string 出品中
set.explain_end string 已完成
set.explain_fail string 开品失败

备注:

  • 更多返回错误代码请看首页的错误代码描述
×