Skip to content

Commit

Permalink
fix: simplify count msg
Browse files Browse the repository at this point in the history
  • Loading branch information
yuuki798 committed Oct 19, 2024
1 parent 28ad623 commit 96f3dcd
Showing 1 changed file with 3 additions and 23 deletions.
26 changes: 3 additions & 23 deletions campusapis/staff/v1/campus.proto
Original file line number Diff line number Diff line change
Expand Up @@ -835,26 +835,6 @@ message NiceResponse {
google.protobuf.Any data = 4;
}

// 学生统计结构体
message StudentCountData {
message Degree {
string degree_name = 1;
message Grade {
string grade_name = 1;
int32 count = 2;
message College {
string college_name = 1;
int32 count = 2;
message Major {
string major_name = 1;
int32 count = 2;
}
repeated Major majors = 3;
}
repeated College colleges = 3;
}
repeated Grade grades = 2;
}
repeated Degree degrees = 1;
}

message Count{
int32 count = 1;
}

0 comments on commit 96f3dcd

Please sign in to comment.