mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-23 10:58:35 +08:00
数据集
This commit is contained in:
@@ -6,6 +6,7 @@ package api
|
||||
// 生成人:panda
|
||||
// ==========================================================================
|
||||
import (
|
||||
"github.com/XM-GO/PandaKit/biz"
|
||||
"github.com/XM-GO/PandaKit/model"
|
||||
"github.com/XM-GO/PandaKit/restfulx"
|
||||
"strings"
|
||||
@@ -35,6 +36,15 @@ func (p *VisualDataSetFieldApi) GetVisualDataSetFieldList(rc *restfulx.ReqCtx) {
|
||||
}
|
||||
}
|
||||
|
||||
// GetVisualDataSetFieldListAll DataSetField列表数据
|
||||
func (p *VisualDataSetFieldApi) GetVisualDataSetFieldListAll(rc *restfulx.ReqCtx) {
|
||||
data := entity.VisualDataSetField{}
|
||||
data.TableId = restfulx.QueryParam(rc, "tableId")
|
||||
biz.NotEmpty(data.TableId, "tableId 必传")
|
||||
|
||||
rc.ResData = p.VisualDataSetFieldApp.FindList(data)
|
||||
}
|
||||
|
||||
// GetVisualDataSetField 获取DataSetField
|
||||
func (p *VisualDataSetFieldApi) GetVisualDataSetField(rc *restfulx.ReqCtx) {
|
||||
fieldId := restfulx.PathParam(rc, "fieldId")
|
||||
|
||||
Reference in New Issue
Block a user