/// <summary> /// 修改员工信息 /// </summary> /// <param name="resultBlock"></param> /// <param name="account"></param> public static void UpdateStaff(DataResultBlock resultBlock, StructAccount account) { CSAccountUpdate.Builder update = new CSAccountUpdate.Builder(); update.SetAccount(account); MessageContent.Builder content = new MessageContent.Builder(); content.SetMessageType(1); content.SetCsAccountUpdate(update.Build()); SendModel send = new SendModel() { cmd = Cmd.CMD_STAFF_UPDATE, content = content.Build() }; NetMessageManage.SendMsg(send, resultBlock); }