教程调用

接口地址:/publisher/calltutorial

请求方式 get

参数:

  • type 课程类型 2技术 3工具

  • page 分页(首页不传)

  • q 搜索关键字

返回格式:

{
    "code": 1,
    "data": {
        "tutorial_list":[
            {
                "id": 1,
                "title": "教程名称1",
                "sn": "1208801",
                "pic": "ss.jpg",
                "price": 120.0,
                "summary": "简介",
                "nickname": "用户昵称",
                "avatar": "用户头像xxx.jpg" 
            },
            {
                "id": 2,
                "title": "教程名称2",
                "sn": "1208899",
                "pic": "ss11.jpg",
                "price": 220.0,
                "summary": "简介",
                "nickname": "用户昵称",
                "avatar": "用户头像xxx.jpg" 
            }
        ],
        “page”: 1
    },
    "msg": "success"
}

Last updated

Was this helpful?