fix: 移除Header Tab栏(与侧边栏重复); 修复approve/reject 400(ApproveRequest去掉required binding)

This commit is contained in:
attacker committed 2026-06-15 02:21:04 +08:00
1 parent e4958feb1b
commit 925348e583
3 files changed
+38 -9

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@ type CreateApprovalProcessRequest struct {
// ApproveRequest 审批请求
type ApproveRequest struct {
Status string `json:"status" binding:"required,oneof=approved rejected"`
Status string `json:"status"`
Comment string `json:"comment"`
}