Skip to content

Commit

Permalink
add order api
Browse files Browse the repository at this point in the history
  • Loading branch information
xxl4 committed Jul 16, 2024
1 parent bfcdfa1 commit 3b27bfa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Http/Controllers/Api/OrderController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
}
}

0 comments on commit 3b27bfa

Please sign in to comment.