interface.go
469 字节
package service_gateway
type UserServiceGateway interface {
GetUser(companyId int64, uid int64) (map[string]interface{}, error)
GetCompany(companyId int64) (map[string]interface{}, error)
GetOrganization(companyId int64, organizationId int64) (map[string]interface{}, error)
UserInMenu(companyId int64, userId int64, menuCode string) (map[string]interface{}, error)
UserInOrganization(companyId int64, orgId int64, userId int64) (map[string]interface{}, error)
}