Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 00bd4ac

Browse files
committed
feat(score): add global score query
1 parent 669340a commit 00bd4ac

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

‎campusapis/staff/v1/campus.proto‎

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ service CampusService {
109109
// 获取全局成绩,用于推送成绩信息,仅内部使用
110110
rpc GetGlobalStudentGrade(GetGlobalStudentGradeRequest) returns (GetGlobalStudentGradeResponse) {
111111
option (google.api.http) = {
112-
get: "/private/staff/v1/global/student/grade"
112+
get: "/staff/v1/global/student/grade"
113113
};
114114
}
115115

@@ -223,6 +223,10 @@ message GetGlobalStudentGradeRequest {
223223
string schoolYear = 1;
224224
//学期,枚举:第一学期 | 第二学期
225225
string semester = 2;
226+
//时间戳
227+
int64 timestamp = 3;
228+
//时长范围
229+
int64 duration = 4;
226230
}
227231

228232
message GetStudentExamRequest {
@@ -479,22 +483,14 @@ message GlobalStudentGrade {
479483
string schoolYear = 1;
480484
//学期
481485
string semester = 2;
482-
//选课号
483-
string selectCode = 3;
484-
//最后分数
485-
string score = 4;
486486
//课程号
487-
string courseCode = 5;
487+
string courseCode = 3;
488488
//课程名
489-
string course = 6;
489+
string course = 4;
490490
//学号
491-
string staffId = 7;
492-
//学分
493-
string credit = 8;
494-
//GPA
495-
string GPA = 9;
491+
string staffId = 5;
496492
//操作时间
497-
string updateAt = 10;
493+
string updateAt = 6;
498494
}
499495

500496
// 查询学生考试返回体

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /