数据集

This commit is contained in:
XM-GO
2023-05-12 17:21:17 +08:00
parent 93fbf456d8
commit c7cd18131d
5 changed files with 104 additions and 61 deletions

View File

@@ -54,3 +54,17 @@ type VisualDataSetTableFun struct {
func (VisualDataSetTableFun) TableName() string {
return "visual_data_set_table_function"
}
type DataSetDataReq struct {
TableId string `json:"tableId"` //数据集Id
ShowNumType string `json:"showNumType"`
ShowNum int64 `json:"showNum"`
DataDs []map[string]interface{} `json:"dataDs"`
DataQs []map[string]interface{} `json:"dataQs"`
DataLs []map[string]interface{} `json:"dataLs"`
}
type DataSetDataRes struct {
Fields []string `json:"fields"`
Series []map[string]interface{} `json:"series"`
}