宝体数据调用接口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
502 B

<?php
namespace app\api\controller\sharing;
use app\api\controller\Controller;
use app\api\model\sharing\Category as CategoryModel;
/**
* 拼团首页控制器
* Class Active
* @package app\api\controller\sharing
*/
class Index extends Controller
{
/**
* 拼团首页
* @return array
*/
public function index()
{
// 拼团分类列表
$categoryList = CategoryModel::getCacheAll();
return $this->renderSuccess(compact('categoryList'));
}
}