教程详情

接口地址:/console/tutorialdetail

请求方式 get

参数:

  • id 教程id

  • which 教程版本 1-待审核 2-已审核

返回格式:

{
    "code": 1,
    "data": {
        "id": 1,
        "status": "1 #教程状态 1待审核, 2审核通过,3审核不通过, 10冻结",
        "title": "门朵·实木置物架",
        "subtitle": "教程副标题只有技术和工具才有哦",
        "summary": "门朵·实木置物架门朵·实木置物架门朵·实木置物架门朵·实木置物架门朵·实木置物架",
        "classify": "产品 - 柜子 - 置物架,产品 - 餐厅 - 置物架   ##分类 多个用,分割",
        "price": 150,
        "difficulty": "4  ##教程难度",
        "take_time": "6h20min ##教程工时",
        "header_pic": "xxx.jpg  ##教程头图",
        "banner_pics": "xxx.jpg,yyyy.jpg ##轮播图 多个用,分割",
        "tools": "平刨,压刨机  ##教程工具",
        "drawings": "//e.mylabclub.com/xxx100.pdf-木桌1.pdf,//e.mylabclub.com/xxx101.pdf-木桌2.pdf ##图纸 多个用,分割",
        "tags": "标签一,标签二 ##标签 多个用,分割",
        "op_log":[
            {
                "manager": "瑶瑶",
                "op_time": "2018-09-20 15:28:00",
                "op_note": "审核通过",
                "reason": "无"
            },
            {
                "manager": "十年",
                "op_time": "2018-09-20 15:28:00",
                "op_note": "审核不通过",
                "reason": "身份证图片不清楚"
            }
        ],
        "step_list":[
            {
                "id": 1,
                "title": "检查材料",
                "target": "根据图纸尺寸切割出2条长撑A、2条短撑B和2条短撑C",
                "take_time": "20min #工时",
                "pic": "xxx.jpg",
                "tools": "平刨,压刨机  ##教程工具",
                "content": "content"
            },
            {
                "id": 2,
                "title": "检查材料",
                "target": "根据图纸尺寸切割出2条长撑A、2条短撑B和2条短撑C",
                "take_time": "20min #工时",
                "pic": "xxx.jpg",
                "tools": "平刨,压刨机  ##教程工具",
                "content": "content"
            }
        ]
    },
    "msg": "success"
}

Last updated

Was this helpful?