mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-24 03:18:35 +08:00
数据集
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user