request_params.go 609 B

1234567891011121314151617181920
  1. package sql_executor
  2. import (
  3. "git.sxidc.com/go-framework/baize/framework/core/api/request"
  4. )
  5. type ExecuteSqlJsonBody struct {
  6. Sql string `json:"sql" binding:"required"`
  7. ExecutorID string `json:"executorId" binding:"required"`
  8. ExecutorName string `json:"executorName" binding:"required"`
  9. }
  10. type QuerySqlExecuteLogQueryParams struct {
  11. request.BaseQueryParams
  12. Sql string `form:"sql"`
  13. ExecutorID string `form:"executorId"`
  14. ExecutorName string `form:"executorName"`
  15. StartExecuteTime string `form:"startExecuteTime"`
  16. EndExecuteTime string `form:"endExecuteTime"`
  17. }