31 lines
524 B
PHP
31 lines
524 B
PHP
<?php
|
|
|
|
namespace app\api\controller\cate;
|
|
|
|
|
|
use app\api\controller\BaseApiController;
|
|
use app\api\lists\cate\CateLists;
|
|
|
|
|
|
/**
|
|
* 商品分类控制器
|
|
* Class CateController
|
|
* @package app\admin\controller\goods
|
|
*/
|
|
class CateController extends BaseApiController
|
|
{
|
|
public $notNeedLogin = ['lists'];
|
|
/**
|
|
* @notes 获取商品分类列表
|
|
* @return
|
|
* @author likeadmin
|
|
* @date 2024/04/23 10:27
|
|
*/
|
|
public function lists()
|
|
{
|
|
return $this->dataLists(new CateLists());
|
|
}
|
|
|
|
|
|
}
|