Pārlūkot izejas kodu

优化接口专题

路佳明 3 nedēļas atpakaļ
vecāks
revīzija
b2c3cf7f8e
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 {