数据集

This commit is contained in:
XM-GO
2023-05-13 12:59:08 +08:00
parent c7cd18131d
commit c9b8dc0f01
4 changed files with 161 additions and 8 deletions

View File

@@ -97,5 +97,12 @@ func InitVisualDataSetTableRouter(container *restful.Container) {
Param(ws.QueryParameter("sourceId", "数据源Id").Required(true).DataType("string")).
Metadata(restfulspec.KeyOpenAPITags, tags))
ws.Route(ws.POST("/list/series").To(func(request *restful.Request, response *restful.Response) {
restfulx.NewReqCtx(request, response).WithNeedCasbin(false).WithLog("获取数列表").Handle(s.GetDataSetSeries)
}).
Doc("获取数列表").
Reads(entity.DataSetDataReq{}).
Metadata(restfulspec.KeyOpenAPITags, tags))
container.Add(ws)
}