(ctx context.Context, serviceId string, appId string)
| 218 | } |
| 219 | |
| 220 | func (i *imlSubscribeApplyService) GetApply(ctx context.Context, serviceId string, appId string) (*Apply, error) { |
| 221 | info, err := i.store.First(ctx, map[string]interface{}{"service": serviceId, "application": appId}) |
| 222 | if err != nil { |
| 223 | return nil, err |
| 224 | } |
| 225 | return FromApplyEntity(info), err |
| 226 | } |
| 227 | |
| 228 | func (i *imlSubscribeApplyService) ListByStatus(ctx context.Context, pid string, status ...int) ([]*Apply, error) { |
| 229 | w := make(map[string]interface{}) |
nothing calls this directly
no test coverage detected