Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActionsGenV3 ¶
func GenMenuAndApi ¶
func NOActionsGenV3 ¶
func QueryDBColumnPage ¶
@Summary 分页列表数据 / page list data @Description 数据库表列分页列表 / database table column page list @Tags 工具 / Tools @Param tableName query string false "tableName / 数据表名称" @Param pageSize query int false "pageSize / 页条数" @Param pageIndex query int false "pageIndex / 页码" @Success 200 {object} servers.Response "{"code": 200, "data": [...]}" @Router /api/v1/db/columns/page [get]
func QueryDBTablePage ¶
@Summary 分页列表数据 / page list data @Description 数据库表分页列表 / database table page list @Tags 工具 / Tools @Param tableName query string false "tableName / 数据表名称" @Param pageSize query int false "pageSize / 页条数" @Param pageIndex query int false "pageIndex / 页码" @Success 200 {object} servers.Response "{"code": 200, "data": [...]}" @Router /api/v1/db/tables/page [get]
Types ¶
type Tables ¶
type Tables struct{}
func (Tables) Create ¶
@Summary 添加表结构 @Description 添加表结构 @Tags 工具 - 生成表 @Accept application/json @Product application/json @Param tables query string false "tableName / 数据表名称" @Success 200 {string} string "{"code": 200, "message": "添加成功"}" @Success 200 {string} string "{"code": -1, "message": "添加失败"}" @Router /api/v1/sys/tables/info [post] @Security Bearer
func (Tables) DeleteSysTables ¶
@Summary 删除表结构 @Description 删除表结构 @Tags 工具 - 生成表 @Param tableId path int true "tableId" @Success 200 {string} string "{"code": 200, "message": "删除成功"}" @Success 200 {string} string "{"code": -1, "message": "删除失败"}" @Router /api/v1/sys/tables/info/{ids} [delete]
func (Tables) Get ¶
@Summary 获取配置 @Description 获取JSON @Tags 工具 - 生成表 @Param configKey path int true "configKey" @Success 200 {object} servers.Response "{"code": 200, "data": [...]}" @Router /api/v1/sys/tables/info/{id} [get] @Security Bearer
func (Tables) GetWithName ¶
func (Tables) QueryPage ¶
@Summary 分页列表数据 @Description 生成表分页列表 @Tags 工具 - 生成表 @Param tableName query string false "tableName / 数据表名称" @Param pageSize query int false "pageSize / 页条数" @Param pageIndex query int false "pageIndex / 页码" @Success 200 {object} servers.Response "{"code": 200, "data": [...]}" @Router /api/v1/sys/tables/page [get]
func (Tables) Update ¶
@Summary 修改表结构 @Description 修改表结构 @Tags 工具 - 生成表 @Accept application/json @Product application/json @Param data body tools.SysTables true "body" @Success 200 {string} string "{"code": 200, "message": "添加成功"}" @Success 200 {string} string "{"code": -1, "message": "添加失败"}" @Router /api/v1/sys/tables/info [put] @Security Bearer