xyxie há 4 dias atrás
pai
commit
09fe5a7f56

+ 2 - 2
controllers/data_manage/kpler_data.go

@@ -837,9 +837,9 @@ func (this *BaseFromKplerController) KplerSingleData() {
 		}
 		dataList = append(dataList, tmp)
 	}
-	ret.Data = dataList
+	ret.DataList = dataList
 	page := paging.GetPaging(currentIndex, pageSize, total)
-	ret.Pageing = page
+	ret.Paging = page
 
 	br.Ret = 200
 	br.Success = true

+ 2 - 2
models/data_manage/base_from_kpler_index.go

@@ -94,8 +94,8 @@ type KplerSingleDataResp struct {
 	CreateTime           string
 	ModifyTime           string
 	EdbExist             int `description:"指标库是否已添加:0-否;1-是"`
-	Data                 []*KplerSingleData
-	Pageing              *paging.PagingItem `description:"分页数据"`
+	DataList                 []*KplerSingleData
+	Paging              *paging.PagingItem `description:"分页数据"`
 }
 
 type KplerSingleData struct {