(ctx context.Context, teamId ...string)
| 89 | } |
| 90 | |
| 91 | func (i *imlServiceService) ServiceCountByTeam(ctx context.Context, teamId ...string) (map[string]int64, error) { |
| 92 | w := map[string]interface{}{ |
| 93 | "as_server": true, |
| 94 | "is_delete": false, |
| 95 | } |
| 96 | if len(teamId) > 0 { |
| 97 | w["team"] = teamId |
| 98 | } |
| 99 | return i.store.CountByGroup(ctx, "", w, "team") |
| 100 | } |
| 101 | |
| 102 | func (i *imlServiceService) AppCountByTeam(ctx context.Context, teamId ...string) (map[string]int64, error) { |
| 103 | w := map[string]interface{}{ |
nothing calls this directly
no test coverage detected