mirror of
https://github.com/aoaostar/toolbox.git
synced 2025-12-27 15:01:17 +00:00
21 lines
286 B
PHP
21 lines
286 B
PHP
<?php
|
|
|
|
|
|
namespace app\controller\api;
|
|
|
|
|
|
use app\controller\Base;
|
|
use think\facade\Request;
|
|
|
|
class Category extends Base
|
|
{
|
|
|
|
public function all()
|
|
{
|
|
$params = Request::param();
|
|
|
|
$select = \app\model\Category::all($params);
|
|
|
|
return success($select);
|
|
}
|
|
} |