From 3b27bfab3e10c478f37eca6aa417cd00e6f5c5f8 Mon Sep 17 00:00:00 2001 From: Steve <34465153+xxl4@users.noreply.github.com> Date: Tue, 16 Jul 2024 09:57:33 +0800 Subject: [PATCH] add order api --- src/Http/Controllers/Api/OrderController.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Http/Controllers/Api/OrderController.php b/src/Http/Controllers/Api/OrderController.php index d2bc8d5..4862123 100644 --- a/src/Http/Controllers/Api/OrderController.php +++ b/src/Http/Controllers/Api/OrderController.php @@ -10,8 +10,15 @@ public function index() return response()->json(['code' => 200, 'message' => 'Index']); } + // order create + public function store(Request $request) { return response()->json(['code' => 200, 'message' => 'Store']); } + + public function products(Request $request) + { + return response()->json(['code' => 200, 'message' => 'Products']); + } } \ No newline at end of file