Skip to content

Commit

Permalink
Merge pull request #77 from NJUPT-SAST/dev-Aiden
Browse files Browse the repository at this point in the history
Cron Job
  • Loading branch information
love98ooo authored Aug 17, 2024
2 parents b1f33d6 + 2a7c862 commit 6841e87
Show file tree
Hide file tree
Showing 22 changed files with 983 additions and 279 deletions.
345 changes: 241 additions & 104 deletions api/sastoj/admin/contest/service/v1/contest.pb.go

Large diffs are not rendered by default.

208 changes: 208 additions & 0 deletions api/sastoj/admin/contest/service/v1/contest.pb.validate.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions api/sastoj/admin/contest/service/v1/contest.proto
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,13 @@ service Contest {
body: "*"
};
}

rpc ManualRanking (ManualRankingRequest) returns (ManualRankingReply){
option (google.api.http) = {
post: "/contest/rank"
body: "*"
};
}
}
enum ErrorReason {
// 设置缺省错误码
Expand Down Expand Up @@ -144,4 +151,11 @@ message AddContestantsRequest {
}
message AddContestantsReply {
bool success = 1;
}

message ManualRankingRequest {
int64 contest_id = 1;
}
message ManualRankingReply {
bool success = 1;
}
38 changes: 38 additions & 0 deletions api/sastoj/admin/contest/service/v1/contest_grpc.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 6841e87

Please sign in to comment.