/// <summary> /// 修改员工短信信息 /// </summary> /// <param name="resultBlock"></param> /// <param name="accounts"></param> public static void UpdateStaffSns(DataResultBlock resultBlock, List <StructAccount> accounts) { CSAccountSnsSet.Builder set = new CSAccountSnsSet.Builder(); foreach (StructAccount account in accounts) { set.AddAccount(account); } MessageContent.Builder content = new MessageContent.Builder(); content.SetMessageType(1); content.SetCsAccountSnsSet(set.Build()); SendModel send = new SendModel() { cmd = Cmd.CMD_STAFF_SNS, content = content.Build() }; NetMessageManage.SendMsg(send, resultBlock); }