Documentation
¶
Index ¶
- func Add(c *gin.Context)
- func AddCell(c *gin.Context)
- func AddCodeFile(c *gin.Context)
- func AddDefaultCodeFile(req *apipb.ServiceInfo)
- func AddFileTemplate(c *gin.Context)
- func AddForm(c *gin.Context)
- func AddFunctionalTemplate(c *gin.Context)
- func AddMetadata(c *gin.Context)
- func AddPage(c *gin.Context)
- func AddService(c *gin.Context)
- func AddSystemObject(c *gin.Context)
- func AddTemplate(c *gin.Context)
- func Copy(c *gin.Context)
- func CopyCell(c *gin.Context)
- func CopyFileTemplate(c *gin.Context)
- func CopyForm(c *gin.Context)
- func CopyFunctionalTemplate(c *gin.Context)
- func CopyMetadata(c *gin.Context)
- func CopyPage(c *gin.Context)
- func CopyService(c *gin.Context)
- func CopySystemObject(c *gin.Context)
- func CopyTemplate(c *gin.Context)
- func Delete(c *gin.Context)
- func DeleteCell(c *gin.Context)
- func DeleteFileTemplate(c *gin.Context)
- func DeleteForm(c *gin.Context)
- func DeleteFunctionalTemplate(c *gin.Context)
- func DeleteMetadata(c *gin.Context)
- func DeletePage(c *gin.Context)
- func DeleteService(c *gin.Context)
- func DeleteSystemObject(c *gin.Context)
- func DeleteTemplate(c *gin.Context)
- func DownloadServiceCode(c *gin.Context)
- func Enable(c *gin.Context)
- func EnableCell(c *gin.Context)
- func EnableFunctionalTemplate(c *gin.Context)
- func EnablePage(c *gin.Context)
- func EnableSystemObject(c *gin.Context)
- func ExportCell(c *gin.Context)
- func ExportFileTemplate(c *gin.Context)
- func ExportForm(c *gin.Context)
- func ExportFunctionalTemplate(c *gin.Context)
- func ExportMetadata(c *gin.Context)
- func ExportPage(c *gin.Context)
- func GenFileTemplateCode(c *gin.Context)
- func GenFunctionalTemplateCode(c *gin.Context)
- func GenServiceCode(c *gin.Context)
- func GenTemplateCode(c *gin.Context)
- func GetAll(c *gin.Context)
- func GetAllCell(c *gin.Context)
- func GetAllFileTemplate(c *gin.Context)
- func GetAllForm(c *gin.Context)
- func GetAllFunctionalTemplate(c *gin.Context)
- func GetAllMetadata(c *gin.Context)
- func GetAllPage(c *gin.Context)
- func GetAllService(c *gin.Context)
- func GetAllSystemObject(c *gin.Context)
- func GetAllTemplate(c *gin.Context)
- func GetCellDetail(c *gin.Context)
- func GetDetail(c *gin.Context)
- func GetDetailByName(c *gin.Context)
- func GetFileTemplateDetail(c *gin.Context)
- func GetFormDetail(c *gin.Context)
- func GetFormVersionDetail(c *gin.Context)
- func GetFunctionalTemplateDetail(c *gin.Context)
- func GetMetadataDetail(c *gin.Context)
- func GetMetadataFields(c *gin.Context)
- func GetMetadataTree(c *gin.Context)
- func GetPageDetail(c *gin.Context)
- func GetPageDetailByName(c *gin.Context)
- func GetServiceDetail(c *gin.Context)
- func GetSystemObjectDetail(c *gin.Context)
- func GetTemplateDetail(c *gin.Context)
- func GetTree(c *gin.Context)
- func ImportCell(c *gin.Context)
- func ImportFileTemplate(c *gin.Context)
- func ImportForm(c *gin.Context)
- func ImportFunctionalTemplate(c *gin.Context)
- func ImportMetadata(c *gin.Context)
- func ImportPage(c *gin.Context)
- func PublishForm(c *gin.Context)
- func Query(c *gin.Context)
- func QueryCell(c *gin.Context)
- func QueryFileTemplate(c *gin.Context)
- func QueryForm(c *gin.Context)
- func QueryFunctionalTemplate(c *gin.Context)
- func QueryMetadata(c *gin.Context)
- func QueryPage(c *gin.Context)
- func QueryService(c *gin.Context)
- func QuerySystemObject(c *gin.Context)
- func QueryTemplate(c *gin.Context)
- func RegisterCellRouter(r *gin.Engine)
- func RegisterCurdRouter(r *gin.Engine)
- func RegisterFileTemplateRouter(r *gin.Engine)
- func RegisterFormRouter(r *gin.Engine)
- func RegisterFunctionalTemplateRouter(r *gin.Engine)
- func RegisterMetadataRouter(r *gin.Engine)
- func RegisterPageRouter(r *gin.Engine)
- func RegisterRouter(r *gin.Engine)
- func RegisterServiceRouter(r *gin.Engine)
- func RegisterSystemObjectRouter(r *gin.Engine)
- func RegisterTemplateRoute(r *gin.Engine)
- func SwitchFormVersion(c *gin.Context)
- func Update(c *gin.Context)
- func UpdateCell(c *gin.Context)
- func UpdateFileTemplate(c *gin.Context)
- func UpdateForm(c *gin.Context)
- func UpdateFormSchema(c *gin.Context)
- func UpdateFunctionalTemplate(c *gin.Context)
- func UpdateMetadata(c *gin.Context)
- func UpdatePage(c *gin.Context)
- func UpdateService(c *gin.Context)
- func UpdateSystemObject(c *gin.Context)
- func UpdateTemplate(c *gin.Context)
- type AddRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Add ¶
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 ¶
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 AddDefaultCodeFile ¶
func AddDefaultCodeFile(req *apipb.ServiceInfo)
func AddFileTemplate ¶
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 ¶
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 ¶
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 AddPage ¶
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 AddSystemObject ¶
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 Copy ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 CopyPage ¶
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 CopySystemObject ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 DeletePage ¶
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 DeleteSystemObject ¶
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 DownloadServiceCode ¶
func Enable ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 GenServiceCode ¶
func GenTemplateCode ¶
func GetAll ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 GetAllPage ¶
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 GetAllSystemObject ¶
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 GetCellDetail ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 GetMetadataFields ¶
func GetMetadataTree ¶
func GetPageDetail ¶
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 ¶
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 GetSystemObjectDetail ¶
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 GetTree ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 QueryPage ¶
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 QuerySystemObject ¶
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 RegisterCellRouter ¶
func RegisterFormRouter ¶
func RegisterMetadataRouter ¶
func RegisterPageRouter ¶
func RegisterRouter ¶
func RegisterServiceRouter ¶
func RegisterTemplateRoute ¶
func SwitchFormVersion ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 UpdatePage ¶
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 UpdateSystemObject ¶
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 ¶
Types ¶
type AddRequest ¶
type AddRequest struct {
Data map[string]interface{} `json:"data"`
}