28 lines
612 B
Go
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,
|
|
}
|
|
}
|
|
}
|