Files
2021-10-15 15:06:02 +08:00

28 lines
612 B
Go

package identity
import (
"SciencesServer/app/api/manage/controller"
"SciencesServer/app/service"
)
type Instance struct {
*service.SessionEnterprise
local string
}
type InstanceHandle func(enterprise *service.SessionEnterprise, local string) *Instance
// Expert 专家列表
func (c *Instance) Expert(name, mobile string, page, pageSize int) (*controller.ReturnPages, error) {
return nil, nil
}
func NewIdentity() InstanceHandle {
return func(enterprise *service.SessionEnterprise, local string) *Instance {
return &Instance{
SessionEnterprise: enterprise,
local: local,
}
}
}