feat:完善项目信息

This commit is contained in:
henry
2022-01-13 18:07:40 +08:00
parent 27cb063a6c
commit 7492c67378
25 changed files with 96 additions and 130 deletions

View File

@ -10,10 +10,9 @@ import (
type Agent struct {
*session.Enterprise
local string
}
type AgentHandle func(session *session.Enterprise, local string) *Agent
type AgentHandle func(session *session.Enterprise) *Agent
type (
// AgentCompany 经纪人公司信息
@ -120,10 +119,9 @@ func (c *Agent) Delete(id uint64) error {
}
func NewAgent() AgentHandle {
return func(session *session.Enterprise, local string) *Agent {
return func(session *session.Enterprise) *Agent {
return &Agent{
Enterprise: session,
local: local,
}
}
}