feat: spu
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user