Skip to content

Commit be7c251

Browse files
committed
fix: fix v3
1 parent d9240af commit be7c251

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

campusapis/teaching/v1/teaching.proto

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -345,30 +345,30 @@ message GetScheduleNowResponse {
345345

346346
message Data {
347347
// 今天课表
348-
repeated Course today = 1;
348+
repeated GetScheduleNowResponse_Course today = 1;
349349
// 明天课表
350-
repeated Course tomorrow = 2;
350+
repeated GetScheduleNowResponse_Course tomorrow = 2;
351351
}
352+
}
352353

353-
// 课表
354-
message Course {
355-
// 开始节次
356-
int32 start_section = 1;
357-
// 结束节次
358-
int32 end_section = 2;
359-
// 上课时间
360-
string start_time = 3;
361-
// 下课时间
362-
string end_time = 4;
363-
// 课程名
364-
string course_name = 5;
365-
// 教室
366-
string classroom = 6;
367-
// 老师
368-
string teacher = 7;
369-
// 时长
370-
string duration = 8;
371-
}
354+
// 课表
355+
message GetScheduleNowResponse_Course {
356+
// 开始节次
357+
int32 start_section = 1;
358+
// 结束节次
359+
int32 end_section = 2;
360+
// 上课时间
361+
string start_time = 3;
362+
// 下课时间
363+
string end_time = 4;
364+
// 课程名
365+
string course_name = 5;
366+
// 教室
367+
string classroom = 6;
368+
// 老师
369+
string teacher = 7;
370+
// 时长
371+
string duration = 8;
372372
}
373373

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

396396
message Data {
397397
string Date = 1;
398-
repeated ScheduleResponseCourse classes = 2;
398+
repeated GetScheduleNowResponse_Course classes = 2;
399399
}
400400
}
401401

0 commit comments

Comments
 (0)