简要描述:

-捐赠首页

请求URL:

&route=plugin.present-project.frontend.project.index

请求参数说明:

参数名 类型 是否必需 说明
search_kwd string 关键字

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "ok",
    "data": {
        "person_list": {
            "current_page": 1,
            "data": [
                {
                    "id": 1,
                    "project_id": 3,
                    "name": "韦锋",
                    "price": "1000.00",
                    "time": "2021-10-31 21:35:02",
                    "img": [
                        "http://www.wfshop.com/static/upload/images/5/2021/10/eff028141e596d93c031dbf23f35d96f.jpg",
                        "http://www.wfshop.com/static/upload/images/5/2021/10/eff028141e596d93c031dbf23f35d96f.jpg"
                    ],
                    "video": [
                        "http://www.wfshop.com/static/upload/videos/5/2021/10/409bc6f4c1d4e747f9860deb6f96f1ef.mp4",
                        "http://www.wfshop.com/static/upload/videos/5/2021/10/409bc6f4c1d4e747f9860deb6f96f1ef.mp4"
                    ],
                    "project": {
                        "id": 3,
                        "title": "测试",
                        "change_img": null,
                        "change_video": null
                    }
                },
                {
                    "id": 2,
                    "project_id": 3,
                    "name": "韦锋",
                    "price": "1000.00",
                    "time": "2021-10-31 21:35:02",
                    "img": [
                        "http://www.wfshop.com/static/upload/images/5/2021/10/eff028141e596d93c031dbf23f35d96f.jpg",
                        "http://www.wfshop.com/static/upload/images/5/2021/10/eff028141e596d93c031dbf23f35d96f.jpg"
                    ],
                    "video": [
                        "http://www.wfshop.com/static/upload/videos/5/2021/10/409bc6f4c1d4e747f9860deb6f96f1ef.mp4",
                        "http://www.wfshop.com/static/upload/videos/5/2021/10/409bc6f4c1d4e747f9860deb6f96f1ef.mp4"
                    ],
                    "project": {
                        "id": 3,
                        "title": "测试",
                        "change_img": null,
                        "change_video": null
                    }
                }
            ],
            "first_page_url": "http://www.wfshop.com/addons/yun_shop/api.php?page=1",
            "from": 1,
            "last_page": 1,
            "last_page_url": "http://www.wfshop.com/addons/yun_shop/api.php?page=1",
            "next_page_url": null,
            "path": "http://www.wfshop.com/addons/yun_shop/api.php",
            "per_page": 20,
            "prev_page_url": null,
            "to": 2,
            "total": 2
        },
        "project_list": [
            {
                "title": "测试",
                "img": [
                    "images/5/2021/10/eff028141e596d93c031dbf23f35d96f.jpg",
                    "images/5/2021/10/eff028141e596d93c031dbf23f35d96f.jpg"
                ],
                "video": [
                    "videos/5/2021/10/409bc6f4c1d4e747f9860deb6f96f1ef.mp4",
                    "videos/5/2021/10/409bc6f4c1d4e747f9860deb6f96f1ef.mp4"
                ],
                "change_img": [
                    "http://www.wfshop.com/static/upload/images/5/2021/10/eff028141e596d93c031dbf23f35d96f.jpg",
                    "http://www.wfshop.com/static/upload/images/5/2021/10/eff028141e596d93c031dbf23f35d96f.jpg"
                ],
                "change_video": [
                    "http://www.wfshop.com/static/upload/videos/5/2021/10/409bc6f4c1d4e747f9860deb6f96f1ef.mp4",
                    "http://www.wfshop.com/static/upload/videos/5/2021/10/409bc6f4c1d4e747f9860deb6f96f1ef.mp4"
                ]
            },
            {
                "title": "asd",
                "img": [
                    "images/5/2021/10/eff028141e596d93c031dbf23f35d96f.jpg",
                    "images/5/2021/10/eff028141e596d93c031dbf23f35d96f.jpg"
                ],
                "video": [
                    "videos/5/2021/10/409bc6f4c1d4e747f9860deb6f96f1ef.mp4",
                    "videos/5/2021/10/409bc6f4c1d4e747f9860deb6f96f1ef.mp4"
                ],
                "change_img": [
                    "http://www.wfshop.com/static/upload/images/5/2021/10/eff028141e596d93c031dbf23f35d96f.jpg",
                    "http://www.wfshop.com/static/upload/images/5/2021/10/eff028141e596d93c031dbf23f35d96f.jpg"
                ],
                "change_video": [
                    "http://www.wfshop.com/static/upload/videos/5/2021/10/409bc6f4c1d4e747f9860deb6f96f1ef.mp4",
                    "http://www.wfshop.com/static/upload/videos/5/2021/10/409bc6f4c1d4e747f9860deb6f96f1ef.mp4"
                ]
            }
        ]
    }
}

返回参数说明:

参数名 类型 说明
person_list.data.name string 个人姓名
person_list.data.price float 捐赠金额
person_list.data.time string 时间
person_list.data.project.title string 项目名称
project_list.title string 项目名称
project_list.img array 项目图片
project_list.video array 项目视频

错误时返回: