Skip to content

Commit

Permalink
Merge pull request #1861 from actiontech/add-status-2
Browse files Browse the repository at this point in the history
chore:add update status
  • Loading branch information
sjjian authored Sep 25, 2023
2 parents 343d1f6 + dc2b875 commit c745d7d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion sqle/api/controller/v1/sql_manage.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func GetSqlManageList(c echo.Context) error {

type BatchUpdateSqlManageReq struct {
SqlManageIdList []*uint64 `json:"sql_manage_id_list"`
Status *string `json:"status" enums:"solved,ignored"`
Status *string `json:"status" enums:"solved,ignored,manual_audited"`
Assignees []*string `json:"assignees"`
Remark *string `json:"remark"`
}
Expand Down
3 changes: 2 additions & 1 deletion sqle/docs/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -10262,7 +10262,8 @@ var doc = `{
"type": "string",
"enum": [
"solved",
"ignored"
"ignored",
"manual_audited"
]
}
}
Expand Down
3 changes: 2 additions & 1 deletion sqle/docs/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -10246,7 +10246,8 @@
"type": "string",
"enum": [
"solved",
"ignored"
"ignored",
"manual_audited"
]
}
}
Expand Down
1 change: 1 addition & 0 deletions sqle/docs/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -388,6 +388,7 @@ definitions:
enum:
- solved
- ignored
- manual_audited
type: string
type: object
v1.BindOauth2UserReqV1:
Expand Down

0 comments on commit c745d7d

Please sign in to comment.