fix: kpi support multi-tenant

This commit is contained in:
2024-06-21 19:32:58 +08:00
parent dde4b6f73e
commit 4f4b4ca579
3 changed files with 44 additions and 9 deletions

View File

@@ -12,8 +12,9 @@ type GoldKPITitle struct {
// GoldKPIQuery 黄金指标查询参数结构体
type GoldKPIQuery struct {
NeType string `form:"neType" binding:"required"`
NeID string `form:"neId" binding:"required"`
NeType string `form:"neType" binding:"required"`
//NeID string `form:"neId" binding:"required"`
NeID string `form:"neId"`
StartTime string `form:"startTime" binding:"required"`
EndTime string `form:"endTime" binding:"required"`
Interval int64 `form:"interval" binding:"required"`