request_params.go 724 B

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