rest_user_service.go
1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package domain_service
import (
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-cooperation/pkg/domain"
)
type UserService struct {
}
func (service *UserService) ReferrerFrom(companyId int64, orgId int64, userId int64) (*domain.Referrer, error) {
return nil, nil
}
func (service *UserService) UndertakerFrom(companyId int64, orgId int64, userId int64) (*domain.Undertaker, error) {
return nil, nil
}
func (service *UserService) RelevantFrom(companyId int64, orgId int64, userId int64) (*domain.Relevant, error) {
return nil, nil
}
func (service *UserService) SalesmanFrom(companyId int64, orgId int64, userId int64) (*domain.Salesman, error) {
return nil, nil
}
func (service *UserService) OperatorFrom(companyId int64, orgId int64, userId int64) (*domain.User, error) {
return nil, nil
}
func (service *UserService) UserInMenu(companyId int64, orgId int64, userId int64, code string) (bool, error) {
return false, nil
}
func (service *UserService) UserInOrganization(companyId int64, orgId int64, userId int64) (bool, error) {
return false, nil
}
func NewUserService() (*UserService, error) {
return &UserService{}, nil
}