mirror of
https://github.com/aoaostar/toolbox.git
synced 2026-01-08 13:06:40 +00:00
21 lines
299 B
PHP
21 lines
299 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 msg("ok", "success", $select);
|
|
}
|
|
} |