Skip to content

Commit

Permalink
fix: replace optional with required in paper
Browse files Browse the repository at this point in the history
  • Loading branch information
penqee committed Dec 21, 2024
1 parent c53b308 commit b3c777f
Show file tree
Hide file tree
Showing 4 changed files with 266 additions and 280 deletions.
194 changes: 90 additions & 104 deletions api/model/model/model.go

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

8 changes: 4 additions & 4 deletions idl/model.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ struct Picture{
*/
struct UpYunFileDir {
1: optional string basePath,
2: optional list<string> files,
3: optional list<string> folders,
2: required list<string> files,
3: required list<string> folders,
}

// 课程成绩
Expand Down Expand Up @@ -123,8 +123,8 @@ struct UnifiedExam {

struct PaperData {
1: optional string base_path,
2: optional list<string> files,
3: optional list<string> folders,
2: required list<string> files,
3: required list<string> folders,
}

struct PaperUrlData {
Expand Down
Loading

0 comments on commit b3c777f

Please sign in to comment.