Skip to content

Commit ae42b17

Browse files
committed
feat:add staff previous school api
1 parent b5b7ded commit ae42b17

File tree

8 files changed

+1662
-1419
lines changed

8 files changed

+1662
-1419
lines changed

campusapis/staff/base.pb.go

Lines changed: 71 additions & 260 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

campusapis/staff/base.proto

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -5,42 +5,6 @@ import "google/api/annotations.proto";
55

66
option go_package = "./campusapis/staff";
77

8-
// 人员服务
9-
service StaffService {
10-
// 获取人员信息
11-
rpc GetPreviousSchoolInfo(GetStaffPreviousSchoolInfoRequest) returns (GetStaffPreviousSchoolInfoResponse) {
12-
option (google.api.http) = {
13-
get: "/staff/v1/previous/school/info"
14-
additional_bindings {
15-
get: "/staff/previous/school/info"
16-
}
17-
additional_bindings {
18-
get: "/staff/v2/previous/school/info"
19-
}
20-
};
21-
}
22-
}
23-
24-
message GetStaffPreviousSchoolInfoRequest {
25-
// 学工号
26-
string staffID = 1;
27-
}
28-
29-
message GetStaffPreviousSchoolInfoResponse {
30-
// 人员信息
31-
StaffSchoolInfo info = 1;
32-
}
33-
34-
35-
message StaffSchoolInfo {
36-
string StaffID = 1;
37-
string StaffName = 2;
38-
string PreviousSchoolName = 3;
39-
}
40-
41-
42-
43-
448
// 人员
459
message Staff {
4610
// 学工号

0 commit comments

Comments
 (0)