(ctx context.Context, teamId ...string)
| 100 | } |
| 101 | |
| 102 | func (i *imlServiceService) AppCountByTeam(ctx context.Context, teamId ...string) (map[string]int64, error) { |
| 103 | w := map[string]interface{}{ |
| 104 | "as_app": true, |
| 105 | "is_delete": false, |
| 106 | } |
| 107 | if len(teamId) > 0 { |
| 108 | w["team"] = teamId |
| 109 | } |
| 110 | return i.store.CountByGroup(ctx, "", w, "team") |
| 111 | } |
| 112 | |
| 113 | func (i *imlServiceService) AppList(ctx context.Context, appIds ...string) ([]*Service, error) { |
| 114 | w := make(map[string]interface{}) |
nothing calls this directly
no test coverage detected