Files

28 lines
608 B
Go
Raw Normal View History

2021-10-15 15:01:21 +08:00
package identity
import (
"SciencesServer/app/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,
}
}
}