fix: 移除Header Tab栏(与侧边栏重复); 修复approve/reject 400(ApproveRequest去掉required binding)
This commit is contained in:
1 parent
e4958feb1b
commit
925348e583
3 files changed
+38
-9
No files matched your search
@@ -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"`
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user