From 8e454659e1f03999e0f6fe9cff7037c303e3c1f4 Mon Sep 17 00:00:00 2001 From: ctexthuang Date: Fri, 17 Jan 2025 16:40:09 +0800 Subject: [PATCH] feat: good --- app/Controller/Admin/GoodController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Controller/Admin/GoodController.php b/app/Controller/Admin/GoodController.php index a108273..772d95d 100644 --- a/app/Controller/Admin/GoodController.php +++ b/app/Controller/Admin/GoodController.php @@ -53,7 +53,7 @@ class GoodController * @return array * @throws Exception */ - #[RequestMapping(path: "del_spu", methods: "POST")] + #[RequestMapping(path: "del_spu", methods: "GET")] #[Scene(scene: "del_spu")] public function delSpu(GoodRequest $request): array { @@ -113,7 +113,7 @@ class GoodController * @param GoodRequest $request * @return array */ - #[RequestMapping(path: "del_sku", methods: "POST")] + #[RequestMapping(path: "del_sku", methods: "GET")] #[Scene(scene: "del_sku")] public function delSku(GoodRequest $request): array {