feat: spu

This commit is contained in:
2025-01-22 11:04:12 +08:00
parent 2beb8d9e55
commit 9b7390129d
10 changed files with 426 additions and 10 deletions

View File

@@ -12,13 +12,13 @@ use Hyperf\Validation\Annotation\Scene;
#[Controller(prefix: 'api/good')]
class GoodController extends AbstractController
{
#[RequestMapping(path: 'optional',methods: 'post')]
#[RequestMapping(path: 'optional',methods: 'GET')]
public function optional()
{
return (new OptionalListService)->handle();
}
#[RequestMapping(path: 'meal',methods: 'post')]
#[RequestMapping(path: 'meal',methods: 'GET')]
public function meal()
{
return (new MealListService)->handle();