Documentation ¶
Index ¶
- func Register()
- type DbqueryFuncService
- func (this *DbqueryFuncService) ExeFunc(c *gin.Context) (any, error)
- func (this *DbqueryFuncService) ExecuteCmd(ctx *gin.Context)
- func (this *DbqueryFuncService) ExecuteMeta(ctx *gin.Context)
- func (this *DbqueryFuncService) ExecuteQuery(ctx *gin.Context)
- func (this *DbqueryFuncService) ExecuteScanTable(ctx *gin.Context)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DbqueryFuncService ¶
type DbqueryFuncService struct {
funchandler.FuncService
}
func NewDbqueryFuncService ¶
func NewDbqueryFuncService() *DbqueryFuncService
func (*DbqueryFuncService) ExeFunc ¶
func (this *DbqueryFuncService) ExeFunc(c *gin.Context) (any, error)
func (*DbqueryFuncService) ExecuteCmd ¶
func (this *DbqueryFuncService) ExecuteCmd(ctx *gin.Context)
@Summary DbCmd @Tags DB服务 @Produce json @Param body body dbwebdto.PageDbWebRequest true "请求参数" @Success 200 {object} page.PageResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /cmd [post]
func (*DbqueryFuncService) ExecuteMeta ¶
func (this *DbqueryFuncService) ExecuteMeta(ctx *gin.Context)
@Summary Meta @Tags DB服务 @Produce json @Param body body dbwebdto.PageDbWebRequest true "请求参数" @Success 200 {object} page.PageResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /meta [post]
func (*DbqueryFuncService) ExecuteQuery ¶
func (this *DbqueryFuncService) ExecuteQuery(ctx *gin.Context)
@Summary Query @Tags DB服务 @Produce json @Param body body dbwebdto.PageDbWebRequest true "请求参数" @Success 200 {object} page.PageResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /query [post]
func (*DbqueryFuncService) ExecuteScanTable ¶
func (this *DbqueryFuncService) ExecuteScanTable(ctx *gin.Context)
@Summary QuerySCAN @Tags DB服务 @Produce json @Success 200 {object} page.PageResult "成功" @Failure 400 {object} string "请求错误" @Failure 500 {object} string "内部错误" @Router /scantable [get]