Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

HomeController

@GetMapping({"/home-page", "/"})
@GetMapping("/paging")

@GetMapping("/list-products")
@GetMapping("/products-by-category")
@GetMapping("/products-by-manufacturer")

@GetMapping("/dashBoard")

@GetMapping("/login-admin")
@PostMapping("/login-admin")
@GetMapping("/logout")

@GetMapping("/orders")
@GetMapping("/orders/delete/{orderId}")
@GetMapping("/orders/change-status/{id}")

@GetMapping("/reset-password")
@PostMapping("/reset-password")
@PostMapping("/forgot-password")

@GetMapping("/users/reset-password")
@PostMapping("/users/reset-password")
@PostMapping("/users/forgot-password")

ManufacturerController the same with CategoryController


@GetMapping("/categories")
@PostMapping("/categories/save-category")
@GetMapping("/categories/change-status/{id}")
@GetMapping("/categories/edit/{id}")
@PostMapping("/categories/update-category/{id}")
@GetMapping("/categories/delete-category/{id}")
@GetMapping("/checkCategoryNameAvailability")

ProductController
@GetMapping("/products")
@GetMapping("/products/create-product")
@GetMapping("/products/edit/{id}")
@PostMapping("/products/update-product/{id}")
@GetMapping("/products/change-status/{id}")
@GetMapping("/products/change-newest/{id}")
@GetMapping("/products/delete-product/{id}")
@PostMapping("/products/save-product")
@PostMapping("/products/search")
@GetMapping("/searchPaging")

StaffController
@GetMapping("/staffs")
@GetMapping("/staffs/create-staff")
@GetMapping("/staffs/edit/{id}")
@PostMapping("/staffs/update-staff")
@GetMapping("/staffs/change-status/{id}")
@GetMapping("/staffs/toChangePass/{id}")
@PostMapping("/staffs/do-change-pass")
@GetMapping("/staffs/delete-staff/{id}")
@PostMapping("/staffs/save-staff")

UserController
@GetMapping("/users")
@GetMapping("/users/create-user")
@GetMapping("/users/edit/{id}")
@PostMapping("/users/update-user")
@GetMapping("/users/change-status/{id}")
@GetMapping("/users/delete-user/{id}")
@PostMapping("/users/save-user")
@GetMapping("/users/to-change-pass/{id}")
@PostMapping("users/do-change-pass")
@PostMapping("/login-user")
@GetMapping("/users/logout")
@GetMapping("/users/add-to-cart/{productId}")
@PostMapping("/users/delete-product-in-cart")
@GetMapping("/users/purchase-page")
@GetMapping("/users/add-order")
@GetMapping("/users/order-history/{userId}")
@GetMapping("/orders/user-change-status/{id}")

fix size for description product (334.359 149.500)

You might also like