游标分页初步

This commit is contained in:
biss committed 2026-08-23 09:11:48 +08:00
1 parent 14af0910e7
commit bdb2e54521
5 files changed
+99 -20

No files matched your search

+1 -1
View File
@@ -180,7 +180,7 @@ export async function syncNativeWidgets(force = false) {
const [timetableResult, examResult, notificationResult, attendanceResult] = await Promise.allSettled([
http.get('/timetables/mine'),
http.get('/exams/my-schedule'),
http.get('/notifications', { params: { page: 1, pageSize: 3, unreadOnly: true } }),
http.get('/notifications', { params: { pageSize: 3, unreadOnly: true } }),
roles.includes('Student')
? http.get('/attendance/open-check-ins')
: Promise.resolve({ data: [] }),