http

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2025 License: Apache-2.0 Imports: 19 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(c *gin.Context)

Add godoc @Summary 新增 @Description 新增 @Tags 通用增删改查接口 @Accept json @Produce json @Param pageName path string true "页面配置名称" @Param authorization header string true "jwt token" @Param data body AddRequest true "Add Object" @Success 200 {object} apipb.CommonResponse @Router /api/curd/common/{pageName}/add [post]

func AddCell

func AddCell(c *gin.Context)

AddCell godoc @Summary 新增 @Description 新增 @Tags Cell管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param data body apipb.CellInfo true "Add Cell" @Success 200 {object} apipb.CommonResponse @Router /api/curd/cell/add [post]

func AddCodeFile

func AddCodeFile(c *gin.Context)

func AddDefaultCodeFile

func AddDefaultCodeFile(req *apipb.ServiceInfo)

func AddFileTemplate

func AddFileTemplate(c *gin.Context)

AddFileTemplate godoc @Summary 新增 @Description 新增 @Tags 文件模版管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.FileTemplateInfo true "Add FileTemplate" @Success 200 {object} apipb.CommonResponse @Router /api/curd/filetemplate/add [post]

func AddForm

func AddForm(c *gin.Context)

AddForm godoc @Summary 新增表单 @Description 新增表单 @Tags 表单管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.FormInfo true "Add Form" @Success 200 {object} apipb.CommonResponse @Router /api/form/add [post]

func AddFunctionalTemplate

func AddFunctionalTemplate(c *gin.Context)

AddFunctionalTemplate godoc @Summary 新增 @Description 新增 @Tags 功能模版管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.FunctionalTemplateInfo true "Add FunctionalTemplate" @Success 200 {object} apipb.CommonResponse @Router /api/curd/functionaltemplate/add [post]

func AddMetadata

func AddMetadata(c *gin.Context)

func AddPage

func AddPage(c *gin.Context)

AddPage godoc @Summary 新增页面 @Description 新增页面 @Tags 页面配置 @Accept json @Produce json @Param authorization header string true "jwt token" @Param data body apipb.PageInfo true "Add Page" @Success 200 {object} apipb.CommonResponse @Router /api/curd/page/add [post]

func AddService

func AddService(c *gin.Context)

func AddSystemObject

func AddSystemObject(c *gin.Context)

AddSystemObject godoc @Summary 新增 @Description 新增 @Tags 系统定义的对象管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.SystemObjectInfo true "Add SystemObject" @Success 200 {object} apipb.CommonResponse @Router /api/curd/systemobject/add [post]

func AddTemplate

func AddTemplate(c *gin.Context)

func Copy

func Copy(c *gin.Context)

Copy godoc @Summary 复制 @Description 复制 @Tags 通用增删改查接口 @Accept json @Produce json @Param pageName path string true "页面配置名称" @Param data body apipb.DelRequest true "Copy Page" @Param authorization header string true "jwt token" @Success 200 {object} apipb.CommonResponse @Router /api/curd/common/{pageName}/detail [post]

func CopyCell

func CopyCell(c *gin.Context)

CopyCell godoc @Summary 复制 @Description 复制 @Tags Cell管理 @Accept json @Produce json @Param data body apipb.DelRequest true "Copy Cell" @Param authorization header string true "jwt token" @Success 200 {object} apipb.CommonResponse @Router /api/curd/cell/copy [post]

func CopyFileTemplate

func CopyFileTemplate(c *gin.Context)

CopyFileTemplate godoc @Summary 复制 @Description 复制 @Tags 文件模版管理 @Accept json @Produce json @Param data body apipb.DelRequest true "Copy FileTemplate" @Param authorization header string true "jwt token" @Success 200 {object} apipb.CommonResponse @Router /api/curd/filetemplate/copy [post]

func CopyForm

func CopyForm(c *gin.Context)

CopyForm godoc @Summary 复制表单 @Description 复制表单 @Tags 表单管理 @Accept json @Produce json @Param account body apipb.DelRequest true "Copy Form" @Param authorization header string true "jwt token" @Success 200 {object} apipb.CommonResponse @Router /api/form/copy [post]

func CopyFunctionalTemplate

func CopyFunctionalTemplate(c *gin.Context)

CopyFunctionalTemplate godoc @Summary 复制 @Description 复制 @Tags 功能模版管理 @Accept json @Produce json @Param data body apipb.DelRequest true "Copy FunctionalTemplate" @Param authorization header string true "jwt token" @Success 200 {object} apipb.CommonResponse @Router /api/curd/functionaltemplate/copy [post]

func CopyMetadata

func CopyMetadata(c *gin.Context)

func CopyPage

func CopyPage(c *gin.Context)

CopyPage godoc @Summary 复制页面配置 @Description 复制页面配置 @Tags 页面配置 @Accept json @Produce json @Param data body apipb.DelRequest true "Copy Page" @Param authorization header string true "jwt token" @Success 200 {object} apipb.CommonResponse @Router /api/curd/page/detail [post]

func CopyService

func CopyService(c *gin.Context)

func CopySystemObject

func CopySystemObject(c *gin.Context)

CopySystemObject godoc @Summary 复制 @Description 复制 @Tags 系统定义的对象管理 @Accept json @Produce json @Param data body apipb.DelRequest true "Copy SystemObject" @Param authorization header string true "jwt token" @Success 200 {object} apipb.CommonResponse @Router /api/curd/systemobject/copy [post]

func CopyTemplate

func CopyTemplate(c *gin.Context)

CopyTemplate godoc @Summary 复制 @Description 复制 @Tags 代码模板管理 @Accept json @Produce json @Param data body apipb.DelRequest true "Copy Template" @Param authorization header string true "jwt token" @Success 200 {object} apipb.CommonResponse @Router /api/curd/template/copy [post]

func Delete

func Delete(c *gin.Context)

Delete godoc @Summary 删除 @Description 删除 @Tags 通用增删改查接口 @Accept json @Produce json @Param pageName path string true "页面配置名称" @Param authorization header string true "jwt token" @Param data body apipb.DelRequest true "Delete Page" @Success 200 {object} apipb.CommonResponse @Router /api/curd/common/{pageName}/delete [delete]

func DeleteCell

func DeleteCell(c *gin.Context)

DeleteCell godoc @Summary 删除 @Description 删除 @Tags Cell管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param data body apipb.DelRequest true "Delete Cell" @Success 200 {object} apipb.CommonResponse @Router /api/curd/cell/delete [delete]

func DeleteFileTemplate

func DeleteFileTemplate(c *gin.Context)

DeleteFileTemplate godoc @Summary 删除 @Description 删除 @Tags 文件模版管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param data body apipb.DelRequest true "Delete FileTemplate" @Success 200 {object} apipb.CommonResponse @Router /api/curd/filetemplate/delete [delete]

func DeleteForm

func DeleteForm(c *gin.Context)

DeleteForm godoc @Summary 删除表单管理 @Description 删除表单管理 @Tags 表单管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.DelRequest true "Delete Form" @Success 200 {object} apipb.CommonResponse @Router /api/form/delete [delete]

func DeleteFunctionalTemplate

func DeleteFunctionalTemplate(c *gin.Context)

DeleteFunctionalTemplate godoc @Summary 删除 @Description 删除 @Tags 功能模版管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param data body apipb.DelRequest true "Delete FunctionalTemplate" @Success 200 {object} apipb.CommonResponse @Router /api/curd/functionaltemplate/delete [delete]

func DeleteMetadata

func DeleteMetadata(c *gin.Context)

func DeletePage

func DeletePage(c *gin.Context)

DeletePage godoc @Summary 删除页面配置 @Description 删除页面配置 @Tags 页面配置 @Accept json @Produce json @Param authorization header string true "jwt token" @Param data body apipb.DelRequest true "Delete Page" @Success 200 {object} apipb.CommonResponse @Router /api/curd/page/delete [delete]

func DeleteService

func DeleteService(c *gin.Context)

func DeleteSystemObject

func DeleteSystemObject(c *gin.Context)

DeleteSystemObject godoc @Summary 删除 @Description 删除 @Tags 系统定义的对象管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param data body apipb.DelRequest true "Delete SystemObject" @Success 200 {object} apipb.CommonResponse @Router /api/curd/systemobject/delete [delete]

func DeleteTemplate

func DeleteTemplate(c *gin.Context)

func DownloadServiceCode

func DownloadServiceCode(c *gin.Context)

func Enable

func Enable(c *gin.Context)

Enable godoc @Summary 禁用/启用 @Description 禁用/启用 @Tags 通用增删改查接口 @Accept json @Produce json @Param pageName path string true "页面配置名称" @Param authorization header string true "jwt token" @Param data body apipb.EnableRequest true "Enable/Disable Page" @Success 200 {object} apipb.CommonResponse @Router /api/curd/common/{pageName}/enable [post]

func EnableCell

func EnableCell(c *gin.Context)

EnableCell godoc @Summary 禁用/启用 @Description 禁用/启用 @Tags Cell管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param data body apipb.EnableRequest true "Enable/Disable Cell" @Success 200 {object} apipb.CommonResponse @Router /api/curd/cell/enable [post]

func EnableFunctionalTemplate

func EnableFunctionalTemplate(c *gin.Context)

EnableFunctionalTemplate godoc @Summary 禁用/启用 @Description 禁用/启用 @Tags 功能模版管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.EnableRequest true "Enable/Disable FunctionalTemplate" @Success 200 {object} apipb.CommonResponse @Router /api/curd/functionaltemplate/enable [post]

func EnablePage

func EnablePage(c *gin.Context)

EnablePage godoc @Summary 禁用/启用页面配置 @Description 禁用/启用页面配置 @Tags 页面配置 @Accept json @Produce json @Param authorization header string true "jwt token" @Param data body apipb.EnableRequest true "Enable/Disable Page" @Success 200 {object} apipb.CommonResponse @Router /api/curd/page/enable [post]

func EnableSystemObject

func EnableSystemObject(c *gin.Context)

EnableSystemObject godoc @Summary 禁用/启用 @Description 禁用/启用 @Tags 系统定义的对象管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.EnableRequest true "Enable/Disable SystemObject" @Success 200 {object} apipb.CommonResponse @Router /api/curd/systemobject/enable [post]

func ExportCell

func ExportCell(c *gin.Context)

ExportCell godoc @Summary 导出 @Description 导出 @Tags Cell管理 @Accept json @Produce octet-stream @Param authorization header string true "jwt token" @Param pageIndex query int false "从1开始" @Param pageSize query int false "默认每页10条" @Param orderField query string false "排序字段" @Param desc query bool false "是否倒序排序" @Param mustSource query string false "Must Source" @Param name query string false "名称" @Param system query string false "系统" @Param view query string false "视图" @Param shape query string false "形状" @Param isEdge query string false "边" @Param common query string false "是否常用" @Param resizing query string false "调整大小" @Param group query string false "分组" @Param mustTarget query string false "Must Target" @Param ids query []string false "IDs" @Success 200 {object} apipb.CommonResponse @Router /api/curd/cell/export [get]

func ExportFileTemplate

func ExportFileTemplate(c *gin.Context)

ExportFileTemplate godoc @Summary 导出 @Description 导出 @Tags 文件模版管理 @Accept json @Produce octet-stream @Param authorization header string true "jwt token" @Param pageIndex query int false "从1开始" @Param pageSize query int false "默认每页10条" @Param orderField query string false "排序字段" @Param desc query bool false "是否倒序排序" @Param name query string false "文件名称" @Param ids query []string false "IDs" @Success 200 {object} apipb.CommonResponse @Router /api/curd/filetemplate/export [get]

func ExportForm

func ExportForm(c *gin.Context)

ExportForm godoc @Summary 导出 @Description 导出 @Tags 表单管理 @Accept json @Produce octet-stream @Param authorization header string true "jwt token" @Param formIndex query int false "从1开始" @Param formSize query int false "默认每页10条" @Param orderField query string false "排序字段" @Param desc query bool false "是否倒序排序" @Param name query string false "名称" @Param pageName query string false "表单名称" @Param group query string false "分组" @Param ids query []string false "IDs" @Success 200 {object} apipb.CommonResponse @Router /api/form/export [get]

func ExportFunctionalTemplate

func ExportFunctionalTemplate(c *gin.Context)

ExportFunctionalTemplate godoc @Summary 导出 @Description 导出 @Tags 功能模版管理 @Accept json @Produce octet-stream @Param authorization header string true "jwt token" @Param pageIndex query int false "从1开始" @Param pageSize query int false "默认每页10条" @Param orderField query string false "排序字段" @Param desc query bool false "是否倒序排序" @Param language query string false "语音" @Param group query string false "分组" @Param name query string false "名称" @Param ids query []string false "IDs" @Success 200 {object} apipb.CommonResponse @Router /api/curd/functionaltemplate/export [get]

func ExportMetadata

func ExportMetadata(c *gin.Context)

ExportMetadata godoc @Summary 导出 @Description 导出 @Tags Metadata管理 @Accept json @Produce octet-stream @Param authorization header string true "jwt token" @Param pageIndex query int false "从1开始" @Param pageSize query int false "默认每页10条" @Param orderField query string false "排序字段" @Param desc query bool false "是否倒序排序" @Param ids query []string false "IDs" @Success 200 {object} apipb.CommonResponse @Router /api/curd/metadata/export [get]

func ExportPage

func ExportPage(c *gin.Context)

ExportPage godoc @Summary 导出 @Description 导出 @Tags 页面配置 @Accept json @Produce octet-stream @Param authorization header string true "jwt token" @Param pageIndex query int false "从1开始" @Param pageSize query int false "默认每页10条" @Param orderField query string false "排序字段" @Param desc query bool false "是否倒序排序" @Param name query string false "名称" @Param enable query int false "是否启用" @Param type query int false "类型" @Param ids query []string false "IDs" @Success 200 {object} apipb.QueryPageResponse @Router /api/curd/page/export [get]

func GenFileTemplateCode

func GenFileTemplateCode(c *gin.Context)

func GenFunctionalTemplateCode

func GenFunctionalTemplateCode(c *gin.Context)

func GenServiceCode

func GenServiceCode(c *gin.Context)

func GenTemplateCode

func GenTemplateCode(c *gin.Context)

func GetAll

func GetAll(c *gin.Context)

GetAll godoc @Summary 查询所有 @Description 查询所有 @Tags 通用增删改查接口 @Accept json @Produce json @Param pageName path string true "页面配置名称" @Param authorization header string true "jwt token" @Success 200 {object} curdmodel.QueryResponse @Router /api/curd/common/{pageName}/all [get]

func GetAllCell

func GetAllCell(c *gin.Context)

GetAllCell godoc @Summary 查询所有 @Description 查询所有 @Tags Cell管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetAllCellResponse @Router /api/curd/cell/all [get]

func GetAllFileTemplate

func GetAllFileTemplate(c *gin.Context)

GetAllFileTemplate godoc @Summary 查询所有 @Description 查询所有 @Tags 文件模版管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetAllFileTemplateResponse @Router /api/curd/filetemplate/all [get]

func GetAllForm

func GetAllForm(c *gin.Context)

GetAllForm godoc @Summary 查询所有表单管理 @Description 查询所有表单管理 @Tags 表单管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetAllFormResponse @Router /api/form/all [get]

func GetAllFunctionalTemplate

func GetAllFunctionalTemplate(c *gin.Context)

GetAllFunctionalTemplate godoc @Summary 查询所有 @Description 查询所有 @Tags 功能模版管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetAllFunctionalTemplateResponse @Router /api/curd/functionaltemplate/all [get]

func GetAllMetadata

func GetAllMetadata(c *gin.Context)

func GetAllPage

func GetAllPage(c *gin.Context)

GetAllPage godoc @Summary 查询所有页面配置 @Description 查询所有页面配置 @Tags 页面配置 @Accept json @Produce json @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetAllPageResponse @Router /api/curd/page/all [get]

func GetAllService

func GetAllService(c *gin.Context)

func GetAllSystemObject

func GetAllSystemObject(c *gin.Context)

GetAllSystemObject godoc @Summary 查询所有 @Description 查询所有 @Tags 系统定义的对象管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetAllSystemObjectResponse @Router /api/curd/systemobject/all [get]

func GetAllTemplate

func GetAllTemplate(c *gin.Context)

func GetCellDetail

func GetCellDetail(c *gin.Context)

GetCellDetail godoc @Summary 查询明细 @Description 查询明细 @Tags Cell管理 @Accept json @Produce json @Param id query string true "ID" @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetCellDetailResponse @Router /api/curd/cell/detail [get]

func GetDetail

func GetDetail(c *gin.Context)

GetDetail godoc @Summary 查询明细 @Description 查询明细 @Tags 通用增删改查接口 @Accept json @Produce json @Param pageName path string true "页面配置名称" @Param id query string true "ID" @Param authorization header string true "jwt token" @Success 200 {object} model.CommonDetailResponse @Router /api/curd/common/{pageName}/detail [get]

func GetDetailByName

func GetDetailByName(c *gin.Context)

GetDetailByName godoc @Summary 根据名称查询明细 @Description 根据名称查询明细 @Tags 通用增删改查接口 @Accept json @Produce json @Param pageName path string true "页面配置名称" @Param name query string true "名称" @Param authorization header string true "jwt token" @Success 200 {object} model.CommonDetailResponse @Router /api/curd/common/{pageName}/detail/name [get]

func GetFileTemplateDetail

func GetFileTemplateDetail(c *gin.Context)

GetFileTemplateDetail godoc @Summary 查询明细 @Description 查询明细 @Tags 文件模版管理 @Accept json @Produce json @Param id query string true "ID" @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetFileTemplateDetailResponse @Router /api/curd/filetemplate/detail [get]

func GetFormDetail

func GetFormDetail(c *gin.Context)

GetFormDetail godoc @Summary 查询明细 @Description 查询明细 @Tags 表单管理 @Accept json @Produce json @Param id query string true "ID" @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetFormDetailResponse @Router /api/form/detail [get]

func GetFormVersionDetail

func GetFormVersionDetail(c *gin.Context)

GetFormVersionDetail godoc @Summary 查询明细 @Description 查询明细 @Tags 表单管理 @Accept json @Produce json @Param id query string true "ID" @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetVersionResponse @Router /api/form/version/detail [get]

func GetFunctionalTemplateDetail

func GetFunctionalTemplateDetail(c *gin.Context)

GetFunctionalTemplateDetail godoc @Summary 查询明细 @Description 查询明细 @Tags 功能模版管理 @Accept json @Produce json @Param id query string true "ID" @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetFunctionalTemplateDetailResponse @Router /api/curd/functionaltemplate/detail [get]

func GetMetadataDetail

func GetMetadataDetail(c *gin.Context)

func GetMetadataFields

func GetMetadataFields(c *gin.Context)

func GetMetadataTree

func GetMetadataTree(c *gin.Context)

func GetPageDetail

func GetPageDetail(c *gin.Context)

GetPageDetail godoc @Summary 查询明细 @Description 查询明细 @Tags 页面配置 @Accept json @Produce json @Param id query string true "ID" @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetPageDetailResponse @Router /api/curd/page/detail [get]

func GetPageDetailByName

func GetPageDetailByName(c *gin.Context)

GetPageDetailByName godoc @Summary 根据名称查询明细 @Description 根据名称查询明细 @Tags 页面配置 @Accept json @Produce json @Param name query string true "名称" @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetPageDetailResponse @Router /api/curd/page/detail/name [get]

func GetServiceDetail

func GetServiceDetail(c *gin.Context)

func GetSystemObjectDetail

func GetSystemObjectDetail(c *gin.Context)

GetSystemObjectDetail godoc @Summary 查询明细 @Description 查询明细 @Tags 系统定义的对象管理 @Accept json @Produce json @Param id query string true "ID" @Param authorization header string true "jwt token" @Success 200 {object} apipb.GetSystemObjectDetailResponse @Router /api/curd/systemobject/detail [get]

func GetTemplateDetail

func GetTemplateDetail(c *gin.Context)

func GetTree

func GetTree(c *gin.Context)

GetTree godoc @Summary 树形数据 @Description 树形数据 @Tags 通用增删改查接口 @Accept json @Produce json @Param pageName path string true "页面配置名称" @Param authorization header string true "jwt token" @Success 200 {object} curdmodel.QueryResponse @Router /api/curd/common/{pageName}/tree [get]

func ImportCell

func ImportCell(c *gin.Context)

ImportCell @Summary 导入 @Description 导入 @Tags Cell管理 @Accept mpfd @Produce json @Param authorization header string true "Bearer+空格+Token" @Param files formData file true "要上传的文件" @Success 200 {object} apipb.CommonResponse @Router /api/curd/cell/import [post]

func ImportFileTemplate

func ImportFileTemplate(c *gin.Context)

ImportFileTemplate @Summary 导入 @Description 导入 @Tags 文件模版管理 @Accept mpfd @Produce json @Param authorization header string true "Bearer+空格+Token" @Param files formData file true "要上传的文件" @Success 200 {object} apipb.CommonResponse @Router /api/curd/filetemplate/import [post]

func ImportForm

func ImportForm(c *gin.Context)

ImportForm @Summary 导入 @Description 导入 @Tags 表单管理 @Accept mpfd @Produce json @Param authorization header string true "Bearer+空格+Token" @Param file formData file true "要上传的文件" @Success 200 {object} apipb.CommonResponse @Router /api/form/import [post]

func ImportFunctionalTemplate

func ImportFunctionalTemplate(c *gin.Context)

ImportFunctionalTemplate @Summary 导入 @Description 导入 @Tags 功能模版管理 @Accept mpfd @Produce json @Param authorization header string true "Bearer+空格+Token" @Param files formData file true "要上传的文件" @Success 200 {object} apipb.CommonResponse @Router /api/curd/functionaltemplate/import [post]

func ImportMetadata

func ImportMetadata(c *gin.Context)

ImportMetadata @Summary 导入 @Description 导入 @Tags Metadata管理 @Accept mpfd @Produce json @Param authorization header string true "Bearer+空格+Token" @Param files formData file true "要上传的文件" @Success 200 {object} apipb.CommonResponse @Router /api//metadata/import [post]

func ImportPage

func ImportPage(c *gin.Context)

ImportPage @Summary 导入 @Description 导入 @Tags 页面配置 @Accept mpfd @Produce json @Param authorization header string true "Bearer+空格+Token" @Param files formData file true "要上传的文件" @Success 200 {object} apipb.CommonResponse @Router /api/curd/page/import [post]

func PublishForm

func PublishForm(c *gin.Context)

PublishForm godoc @Summary 发布表单版本 @Description 发布表单版本 @Tags 表单管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.FormVersion true "Update Form" @Success 200 {object} apipb.CommonResponse @Router /api/form/publish [post]

func Query

func Query(c *gin.Context)

Query godoc @Summary 分页查询 @Description 分页查询 @Tags 通用增删改查接口 @Accept json @Produce json @Param pageName path string true "页面配置名称" @Param authorization header string true "jwt token" @Param pageIndex query int false "从1开始" @Param pageSize query int false "默认每页10条" @Param orderField query string false "排序字段" @Param desc query bool false "是否倒序排序" @Success 200 {object} curdmodel.QueryResponse @Router /api/curd/common/{pageName}/query [get]

func QueryCell

func QueryCell(c *gin.Context)

QueryCell godoc @Summary 分页查询 @Description 分页查询 @Tags Cell管理 @Accept json @Produce octet-stream @Param authorization header string true "jwt token" @Param pageIndex query int false "从1开始" @Param pageSize query int false "默认每页10条" @Param orderField query string false "排序字段" @Param desc query bool false "是否倒序排序" @Param mustSource query string false "Must Source" @Param name query string false "名称" @Param system query string false "系统" @Param view query string false "视图" @Param shape query string false "形状" @Param isEdge query string false "边" @Param common query string false "是否常用" @Param resizing query string false "调整大小" @Param group query string false "分组" @Param mustTarget query string false "Must Target" @Success 200 {object} apipb.QueryCellResponse @Router /api/curd/cell/query [get]

func QueryFileTemplate

func QueryFileTemplate(c *gin.Context)

QueryFileTemplate godoc @Summary 分页查询 @Description 分页查询 @Tags 文件模版管理 @Accept json @Produce octet-stream @Param authorization header string true "jwt token" @Param pageIndex query int false "从1开始" @Param pageSize query int false "默认每页10条" @Param orderField query string false "排序字段" @Param desc query bool false "是否倒序排序" @Param name query string false "文件名称" @Success 200 {object} apipb.QueryFileTemplateResponse @Router /api/curd/filetemplate/query [get]

func QueryForm

func QueryForm(c *gin.Context)

QueryForm godoc @Summary 分页查询 @Description 分页查询 @Tags 表单管理 @Accept json @Produce octet-stream @Param authorization header string true "jwt token" @Param formIndex query int false "从1开始" @Param formSize query int false "默认每页10条" @Param orderField query string false "排序字段" @Param desc query bool false "是否倒序排序" @Param name query string false "名称" @Param pageName query string false "表单名称" @Param group query string false "分组" @Param ids query []string false "IDs" @Success 200 {object} apipb.QueryFormResponse @Router /api/form/query [get]

func QueryFunctionalTemplate

func QueryFunctionalTemplate(c *gin.Context)

QueryFunctionalTemplate godoc @Summary 分页查询 @Description 分页查询 @Tags 功能模版管理 @Accept json @Produce octet-stream @Param authorization header string true "jwt token" @Param pageIndex query int false "从1开始" @Param pageSize query int false "默认每页10条" @Param orderField query string false "排序字段" @Param desc query bool false "是否倒序排序" @Param language query string false "语音" @Param group query string false "分组" @Param name query string false "名称" @Success 200 {object} apipb.QueryFunctionalTemplateResponse @Router /api/curd/functionaltemplate/query [get]

func QueryMetadata

func QueryMetadata(c *gin.Context)

func QueryPage

func QueryPage(c *gin.Context)

QueryPage godoc @Summary 分页查询 @Description 分页查询 @Tags 页面配置 @Accept json @Produce json @Param authorization header string true "jwt token" @Param pageIndex query int false "从1开始" @Param pageSize query int false "默认每页10条" @Param orderField query string false "排序字段" @Param desc query bool false "是否倒序排序" @Param name query string false "名称" @Param enable query int false "是否启用" @Param type query int false "类型" @Param ids query []string false "IDs" @Success 200 {object} apipb.QueryPageResponse @Router /api/curd/page/query [get]

func QueryService

func QueryService(c *gin.Context)

func QuerySystemObject

func QuerySystemObject(c *gin.Context)

QuerySystemObject godoc @Summary 分页查询 @Description 分页查询 @Tags 系统定义的对象管理 @Accept json @Produce octet-stream @Param authorization header string true "jwt token" @Param pageIndex query int false "从1开始" @Param pageSize query int false "默认每页10条" @Param orderField query string false "排序字段" @Param desc query bool false "是否倒序排序" @Param name query string false "名称" @Param language query string false "编程语言" @Param type query int false "类型" @Param enable query string false "是否启用" @Success 200 {object} apipb.QuerySystemObjectResponse @Router /api/curd/systemobject/query [get]

func QueryTemplate

func QueryTemplate(c *gin.Context)

func RegisterCellRouter

func RegisterCellRouter(r *gin.Engine)

func RegisterCurdRouter

func RegisterCurdRouter(r *gin.Engine)

:pageName是否为了控制接口的权限

func RegisterFileTemplateRouter

func RegisterFileTemplateRouter(r *gin.Engine)

func RegisterFormRouter

func RegisterFormRouter(r *gin.Engine)

func RegisterFunctionalTemplateRouter

func RegisterFunctionalTemplateRouter(r *gin.Engine)

func RegisterMetadataRouter

func RegisterMetadataRouter(r *gin.Engine)

func RegisterPageRouter

func RegisterPageRouter(r *gin.Engine)

func RegisterRouter

func RegisterRouter(r *gin.Engine)

func RegisterServiceRouter

func RegisterServiceRouter(r *gin.Engine)

func RegisterSystemObjectRouter

func RegisterSystemObjectRouter(r *gin.Engine)

func RegisterTemplateRoute

func RegisterTemplateRoute(r *gin.Engine)

func SwitchFormVersion

func SwitchFormVersion(c *gin.Context)

SwitchFormVersion godoc @Summary 切换表单版本 @Description 切换表单版本 @Tags 表单管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param versionID query string false "Version ID" @Success 200 {object} apipb.CommonResponse @Router /api/form/switch [post]

func Update

func Update(c *gin.Context)

Update godoc @Summary 更新 @Description 更新 @Tags 通用增删改查接口 @Accept json @Produce json @Param pageName path string true "页面配置名称" @Param authorization header string true "jwt token" @Param data body AddRequest true "Update Object" @Success 200 {object} apipb.CommonResponse @Router /api/curd/common/{pageName}/update [put]

func UpdateCell

func UpdateCell(c *gin.Context)

UpdateCell godoc @Summary 更新 @Description 更新 @Tags Cell管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param data body apipb.CellInfo true "Update Cell" @Success 200 {object} apipb.CommonResponse @Router /api/curd/cell/update [put]

func UpdateFileTemplate

func UpdateFileTemplate(c *gin.Context)

UpdateFileTemplate godoc @Summary 更新 @Description 更新 @Tags 文件模版管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.FileTemplateInfo true "Update FileTemplate" @Success 200 {object} apipb.CommonResponse @Router /api/curd/filetemplate/update [put]

func UpdateForm

func UpdateForm(c *gin.Context)

UpdateForm godoc @Summary 更新表单管理 @Description 更新表单管理 @Tags 表单管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.FormInfo true "Update Form" @Success 200 {object} apipb.CommonResponse @Router /api/form/update [put]

func UpdateFormSchema

func UpdateFormSchema(c *gin.Context)

UpdateFormSchema godoc @Summary 更新表单Schema @Description 更新表单Schema @Tags 表单管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.FormInfo true "Update Form" @Success 200 {object} apipb.CommonResponse @Router /api/form/schema [put]

func UpdateFunctionalTemplate

func UpdateFunctionalTemplate(c *gin.Context)

UpdateFunctionalTemplate godoc @Summary 更新 @Description 更新 @Tags 功能模版管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.FunctionalTemplateInfo true "Update FunctionalTemplate" @Success 200 {object} apipb.CommonResponse @Router /api/curd/functionaltemplate/update [put]

func UpdateMetadata

func UpdateMetadata(c *gin.Context)

func UpdatePage

func UpdatePage(c *gin.Context)

UpdatePage godoc @Summary 更新页面配置 @Description 更新页面配置 @Tags 页面配置 @Accept json @Produce json @Param authorization header string true "jwt token" @Param data body apipb.PageInfo true "Update Page" @Success 200 {object} apipb.CommonResponse @Router /api/curd/page/update [put]

func UpdateService

func UpdateService(c *gin.Context)

func UpdateSystemObject

func UpdateSystemObject(c *gin.Context)

UpdateSystemObject godoc @Summary 更新 @Description 更新 @Tags 系统定义的对象管理 @Accept json @Produce json @Param authorization header string true "jwt token" @Param account body apipb.SystemObjectInfo true "Update SystemObject" @Success 200 {object} apipb.CommonResponse @Router /api/curd/systemobject/update [put]

func UpdateTemplate

func UpdateTemplate(c *gin.Context)

Types

type AddRequest

type AddRequest struct {
	Data map[string]interface{} `json:"data"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL