jncinet / qihucms-carousel
qihucms carousel.
1.0.2
2021-01-01 04:27 UTC
README
安装
composer require jncinet/qihucms-carousel
开始
数据迁移
$ php artisan migrate
发布资源
$ php artisan vendor:publish --provider="Qihucms\Carousel\CarouselServiceProvider"
后台菜单
- 幻灯片广告位:
carousel/categories
- 幻灯片广告:
carousel/carousels
使用
路由参数说明
反馈列表
- 请求方式 GET
- 请求地址
carousel/{uri=广告位标识}
- 返回值
{
'id' => 1,
'uri' => "广告位标识",
'name' => "广告位名称",
'carousels' => [
{
'id': 1,
"title": "title",
"url": "http://.../*.jpg",
"img_src": "http://...",
"alt": "abc",
}
],
},