Parcourir la source

优化接口专题

路佳明 il y a 3 semaines
Parent
commit
b2c3cf7f8e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/observe/service/urlmapping.go

+ 1 - 1
app/observe/service/urlmapping.go

@@ -1435,7 +1435,7 @@ func (s *UrlMapping) ChartQPSFromClickhouse(req *dto.UrlMappingChartReq, resp *d
 		Where("AppAlias", req.AppAlias).
 		Where("ServiceName", req.ServiceName).
 		Where("Method", req.Method).
-		Where("Route=? or Path=?", req.Route, req.Route).
+		Where("Route=?", req.Route).
 		Where("Timestamp>toDateTime(?) and Timestamp<toDateTime(?)", req.StartTime, req.EndTime)
 	if req.Type == "status_trend" {
 		list := []struct {