diff --git a/app/mix/service/scripts_service.go b/app/mix/service/scripts_service.go index 8bede1ec..0425cfd4 100644 --- a/app/mix/service/scripts_service.go +++ b/app/mix/service/scripts_service.go @@ -30,5 +30,6 @@ func (s *ScriptsService) QueryCallCount(url string, logpath string) (count int, str = strings.ReplaceAll(str, "\n", "") str = strings.ReplaceAll(str, "\r", "") count, err = strconv.Atoi(str) + count = count / 2 return }