Fix forum detail

Forum (User)
- app/(application)/(user)/forum/[id]/index.tsx
- screens/Forum/ViewForumku2.tsx
- service/api-client/api-forum.ts

Forum – New / Refactor
- screens/Forum/DetailForum.tsx
- screens/Forum/DetailForum2.tsx

Documentation
- docs/

Removed
- hipmi-note.md

### No Issue'
This commit is contained in:
2026-01-29 17:36:17 +08:00
parent d693550a1f
commit ed16f1b204
8 changed files with 644 additions and 359 deletions

View File

@@ -102,9 +102,9 @@ export async function apiForumCreateComment({
}
}
export async function apiForumGetComment({ id }: { id: string }) {
export async function apiForumGetComment({ id, page = "1" }: { id: string, page?: string }) {
try {
const response = await apiConfig.get(`/mobile/forum/${id}/comment`);
const response = await apiConfig.get(`/mobile/forum/${id}/comment?page=${page}`);
return response.data;
} catch (error) {
throw error;