mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-22 22:21:09 +08:00
feat: 添加分类提案功能,包括提案表单和相关后端逻辑
This commit is contained in:
@@ -28,4 +28,11 @@ public class PostRequest {
|
||||
// fields for poll posts
|
||||
private List<String> options;
|
||||
private Boolean multiple;
|
||||
|
||||
// fields for category proposal posts
|
||||
private String proposedName;
|
||||
private String proposedSlug;
|
||||
private String proposalDescription;
|
||||
private Integer approveThreshold;
|
||||
private Integer quorum;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user