26 lines
465 B
Go
26 lines
465 B
Go
|
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)
|
||
|
}
|