feat:完善入驻信息管理

This commit is contained in:
henry
2021-12-02 18:05:53 +08:00
parent 5c4d883c97
commit 199e6f0669
23 changed files with 626 additions and 55 deletions

View File

@ -0,0 +1,28 @@
package settled
import (
"SciencesServer/app/basic/config"
"SciencesServer/app/session"
)
// Company 经纪人入驻信息
type Agent struct {
*session.Enterprise
local string
}
type AgentHandle func(session *session.Enterprise, local string) *Agent
// Launch 经纪人入驻
func (c *Agent) Launch(params *BasicParams, other *config.IdentityForAgent) error {
return nil
}
func NewAgent() AgentHandle {
return func(session *session.Enterprise, local string) *Agent {
return &Agent{
Enterprise: session,
local: local,
}
}
}