(#28)Add a api frame (incomplete file)

This commit is contained in:
2022-01-20 20:30:36 +08:00
parent 75adb97abb
commit 443f82ea75
6 changed files with 210 additions and 17 deletions
+2 -2
View File
@@ -48,9 +48,9 @@ interface IScheduleEvent {
*/
class Schedlue extends API<IScheduleInput, IScheduleOutput, IScheduleEvent> {
public override baseUrl: string = "jwc.2333.pub/course_timetable";
public override baseUrl: string = "jwc.2333.pub";
public override url = "?semester=" + IScheduleInput.semester;
public override url = "/course_timetable";
public override method: HTTPMethod = HTTPMethod.GET;