finclip-app-manager/domain/service/red_dot.go

26 lines
465 B
Go
Raw Normal View History

2023-10-31 14:07:26 +08:00
package service
import (
"context"
)
//const (
// RedDotTypePubApp = "pubApp"
// RedDotTypeTrialApp = "trialApp"
//)
type RedDotService struct {
}
func NewRedDotService() *RedDotService {
var s RedDotService
return &s
}
func (s RedDotService) ReadTrialQr(ctx context.Context, id string, userId string) error {
return hCaller.ReadTrialQr(ctx, id, userId)
//repo := impl.InitRedDotRepo()
//return repo.ReadTrialQr(ctx, RedDotTypeTrialApp, id, userId)
}