feat: implement new structure
This commit is contained in:
22
backend/app/services/tenant.go
Normal file
22
backend/app/services/tenant.go
Normal file
@@ -0,0 +1,22 @@
|
||||
package services
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
tenant_dto "quyun/v2/app/http/v1/dto"
|
||||
)
|
||||
|
||||
// @provider
|
||||
type tenant struct{}
|
||||
|
||||
func (s *tenant) GetPublicProfile(ctx context.Context, id string) (*tenant_dto.TenantProfile, error) {
|
||||
return &tenant_dto.TenantProfile{}, nil
|
||||
}
|
||||
|
||||
func (s *tenant) Follow(ctx context.Context, id string) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (s *tenant) Unfollow(ctx context.Context, id string) error {
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user