【新增】对象存储

This commit is contained in:
PandaGoAdmin
2022-01-13 17:48:45 +08:00
parent 2f4995753a
commit 9094780f40
25 changed files with 777 additions and 22 deletions

View File

@@ -67,7 +67,7 @@ func (g *GenTableApi) GetTablePage(rc *ctx.ReqCtx) {
// @Router /develop/code/table/info/{tableId} [get]
// @Security Bearer
func (g *GenTableApi) GetTableInfo(rc *ctx.ReqCtx) {
tableId := ginx.PathParamInt(rc.GinCtx, rc.GinCtx.Param("tableId"))
tableId := ginx.PathParamInt(rc.GinCtx, "tableId")
result := g.GenTableApp.FindOne(entity.DevGenTable{TableId: int64(tableId)}, true)
mp := make(map[string]interface{})
mp["list"] = result.Columns