feat: Implement pagination for active services and introduce ServiceListResource for formatted API output.

This commit is contained in:
pbao9
2026-02-11 11:32:45 +07:00
parent 6b6385f441
commit 8ecea7badc
5 changed files with 60 additions and 9 deletions
@@ -9,7 +9,7 @@ interface ServiceRepositoryInterface extends BaseRepositoryInterface
/**
* Lấy danh sách sản phẩm đang hoạt động
*/
public function getActiveServices();
public function getActiveServices(int $limit = 10);
public function findActiveBySlug(string $slug);
}