Fix Apple Reject:

Add:
- app/(application)/(user)/forum/terms.tsx

Fix:
- app/(application)/(user)/_layout.tsx
- app/(application)/(user)/home.tsx
- screens/Home/tabsList.ts
- service/api-client/api-user.ts

### No Issue
This commit is contained in:
2025-12-08 16:34:33 +08:00
parent 624bd49f69
commit 0f5862ce70
5 changed files with 256 additions and 20 deletions

View File

@@ -36,3 +36,13 @@ export async function apiForumBlockUser({
throw error;
}
}
export async function apiAcceptForumTerms({category, userId}:{category:"Forum" | "Event", userId: string}) {
try {
const response = await apiConfig.post(`/mobile/user/${userId}/terms-of-app?category=${category}`);
return response.data;
} catch (error) {
throw error;
}
}