🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
~~~[api] get:index/get_banner <<< success { "data": [         { "id": 4, "url": "sad", "image_id": 7, "the_jump": 1, "image_one": { "id": 7, "url": "/upload/images/20200321/UNwB86krQHKdbdOmQpk4ftbbF4FGh1VFlPZzhbuK.png", "open": 1             }, "image_url": "http://www.serveradmin.com/upload/images/20200321/UNwB86krQHKdbdOmQpk4ftbbF4FGh1VFlPZzhbuK.png"         },         { "id": 3, "url": "123", "image_id": 6, "the_jump": 2, "image_one": { "id": 6, "url": "/upload/images/20200321/pF7I1kXokQiaOfwYI8rjoiimYaPL8HmpQqeWRjHk.png", "open": 1             }, "image_url": "http://www.serveradmin.com/upload/images/20200321/pF7I1kXokQiaOfwYI8rjoiimYaPL8HmpQqeWRjHk.png"         },         { "id": 2, "url": "1231", "image_id": 5, "the_jump": 1, "image_one": { "id": 5, "url": "/upload/images/20200321/KUM6L2C15NM0fxQIQXFqp1u7OMNL35TbtaOG838w.png", "open": 1             }, "image_url": "http://www.serveradmin.com/upload/images/20200321/KUM6L2C15NM0fxQIQXFqp1u7OMNL35TbtaOG838w.png"         }     ], "code": 8888, "msg": "成功!" } ~~~ ## **成功发回参数说明** |参数|是否必须|参数类型|说明| |-|-|-|-| |code|是|int|表示请求后的状态| |msg|是|string|表示请求提示信息| |data|是|object|返回数据| ## **data数据说明** |参数|是否必须|参数类型|说明| |-|-|-|-| |id|是|int|图片管理ID| |url|是|sttring|表示跳转链接| |image_id|是|int|图片id| |the_jump|是|int|是否跳转:0=否,1=跳转网页,2=跳转小程序页面,3=跳转详情| |image_url|是|sttring|表示图片路径|