예제 #1
0
        public bool Register(MsgInformationEx MsgDTO, object[] param)
        {
            var groupNum = (long)param[0];
            var name     = param[1] as string;

            GroupSettingSvc.Delete(groupNum);
            var setting = new GroupSettings()
            {
                GroupNum = groupNum,
                Name     = name,
                BindAi   = MsgDTO.BindAi
            };

            setting.Insert();

            MsgSender.PushMsg(MsgDTO, "注册成功!");
            return(true);
        }