Skip to content

Commit

Permalink
fix: fix v3
Browse files Browse the repository at this point in the history
  • Loading branch information
setcy committed Jul 30, 2024
1 parent d9240af commit be7c251
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions campusapis/teaching/v1/teaching.proto
Original file line number Diff line number Diff line change
Expand Up @@ -345,30 +345,30 @@ message GetScheduleNowResponse {

message Data {
// 今天课表
repeated Course today = 1;
repeated GetScheduleNowResponse_Course today = 1;
// 明天课表
repeated Course tomorrow = 2;
repeated GetScheduleNowResponse_Course tomorrow = 2;
}
}

// 课表
message Course {
// 开始节次
int32 start_section = 1;
// 结束节次
int32 end_section = 2;
// 上课时间
string start_time = 3;
// 下课时间
string end_time = 4;
// 课程名
string course_name = 5;
// 教室
string classroom = 6;
// 老师
string teacher = 7;
// 时长
string duration = 8;
}
// 课表
message GetScheduleNowResponse_Course {
// 开始节次
int32 start_section = 1;
// 结束节次
int32 end_section = 2;
// 上课时间
string start_time = 3;
// 下课时间
string end_time = 4;
// 课程名
string course_name = 5;
// 教室
string classroom = 6;
// 老师
string teacher = 7;
// 时长
string duration = 8;
}

// GetScheduleNowV2Response 今天,明天课表信息返回体
Expand All @@ -395,7 +395,7 @@ message GetScheduleNowV3Response {

message Data {
string Date = 1;
repeated ScheduleResponseCourse classes = 2;
repeated GetScheduleNowResponse_Course classes = 2;
}
}

Expand Down

0 comments on commit be7c251

Please sign in to comment.