테스트는 안해봤는데 NextWeek

This commit is contained in:
imnyang 2025-06-06 03:30:11 +09:00
commit 3f6371758a
No known key found for this signature in database
GPG key ID: 356406A02D4AFA55
3 changed files with 1129 additions and 1 deletions

View file

@ -45,10 +45,11 @@ export default class Comcigan {
originalCode,
dayCode,
subjectCode,
nextWeek,
} = await this.dataManager.getData()
const res = await this.http
.get(
`${mainRoute}_T?${encodeBase64(`${timetableRoute}_${schoolCode}_0_1`)}`,
`${mainRoute}_T?${encodeBase64(`${timetableRoute}_${schoolCode}_0_${nextWeek ? 2 : 1}`)}`,
)
.then((res) => res.body.text())
const data = parseResponse(res)