feat:完善信息
This commit is contained in:
27
app/api/enterprise/controller/identity/instance.go
Normal file
27
app/api/enterprise/controller/identity/instance.go
Normal file
@ -0,0 +1,27 @@
|
||||
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,
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user