mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
26 lines
549 B
PHP
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);
|
|
}
|
|
|
|
} |