2020-07-14 11:34:54 +08:00

26 lines
549 B
PHP

<?php
namespace app\data\controller\api;
use think\admin\Controller;
/**
* 基础数据接口
* Class Data
* @package app\data\controller\api
*/
class Data extends Controller
{
/**
* 获取轮播图片数据
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\DbException
* @throws \think\db\exception\ModelNotFoundException
*/
public function getSlider()
{
$data = sysdata(input('keys', 'slider'));
$this->success('获取轮播图片数据', $data);
}
}