request_params.go 708 B

12345678910111213141516171819202122
  1. package configuration
  2. import "git.sxidc.com/go-framework/baize/binding/request"
  3. type (
  4. CreateConfigurationJsonBody struct {
  5. Scope string `json:"scope" binding:"required" assign:"toField:Scope"`
  6. Group string `json:"group" binding:"required" assign:"toField:Group"`
  7. Value string `json:"value" binding:"required" assign:"toField:Value"`
  8. }
  9. DeleteConfigurationJsonBody struct {
  10. Scope string `json:"scope" binding:"required" assign:"toField:Scope"`
  11. Group string `json:"group" binding:"required" assign:"toField:Group"`
  12. }
  13. GetConfigurationValuesQueryParams struct {
  14. Scope string `form:"scope" assign:"toField:Scope"`
  15. Group string `form:"group" assign:"toField:Group"`
  16. request.BaseQuery
  17. }
  18. )