api次数调整完善

This commit is contained in:
majintao
2024-09-18 18:08:36 +08:00
parent bfc98148ca
commit 2e1b7418ff
@@ -770,6 +770,7 @@ public class ApiUserController {
apiCountLogService.save(apiCountLog); apiCountLogService.save(apiCountLog);
} }
} }
totalCountMap.put(model.getUri(), count);
if (count == 0) { if (count == 0) {
totalCountMap.remove(model.getUri()); totalCountMap.remove(model.getUri());
} }