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.
 
 

21 lines
414 B

<?php
namespace App\Controller\v3;
use App\Controller\BaseController;
use App\Service\v3\Interfaces\CategoryServiceInterface;
use Hyperf\Di\Annotation\Inject;
class CategoryController extends BaseController
{
/**
* @Inject
* @var CategoryServiceInterface
*/
protected $categoryService;
public function all()
{
return $this->success($this->categoryService->all());
}
}