diff --git a/src/guanlixitong/company.go b/src/guanlixitong/company.go index 211c3d1..063175c 100644 --- a/src/guanlixitong/company.go +++ b/src/guanlixitong/company.go @@ -35,8 +35,8 @@ func (s company) List(m *ice.Message, arg ...string) { } } func (s company) AuthCreate(m *ice.Message, arg ...string) { - msg := s.Select(m.Spawn(), m.OptionSimple(model.CITY_UID)...) - s.Table.AuthCreate(m, 4, msg.Append(model.AUTH_UID), m.Option(model.COMPANY_NAME), m.Option(model.COMPANY_INFO)) + msg := m.Cmd("web.team.gonganxitong.city", s.Select, model.UID, m.Option(model.CITY_UID)) + s.Table.AuthCreate(m, 4, msg.Append(model.AUTH_UID), m.OptionSimple(model.UID)...) } func init() { ice.TeamCtxCmd(company{}) }