update fix-list

This commit is contained in:
codeboss 2025-06-10 13:24:17 +08:00
parent f0129b03f9
commit 2c01ee6056
1 changed files with 4 additions and 4 deletions

View File

@ -128,11 +128,13 @@ void AbstractMessage::reset(uint64_t from, uint64_t to) {
// ͨ¹ý WsMessage ¼Ì³Ð // ͨ¹ý WsMessage ¼Ì³Ð
void AbstractMessage::recoveryFrom(const QJsonObject& obj) { void AbstractMessage::recoveryFrom(const QJsonObject& obj) {
from_to_recovery(_from_id, _to_id, obj); from_to_recovery(_from_id, _to_id, obj);
STRING_PEAK(this->_topic_string);
} }
void AbstractMessage::saveTo(QJsonObject& obj) const void AbstractMessage::saveTo(QJsonObject& obj) const
{ {
from_to_save(_from_id, _to_id, obj); from_to_save(_from_id, _to_id, obj);
STRING_SAVE(this->_topic_string);
} }
QString AbstractMessage::topicString() const QString AbstractMessage::topicString() const
@ -165,8 +167,7 @@ void EntityTotalList::recoveryFrom(const QJsonObject& obj)
QStringList strs; QStringList strs;
STRLIST_PEAK(strs); STRLIST_PEAK(strs);
std::transform(strs.begin(), strs.end(), std::transform(strs.begin(), strs.end(),
std::back_inserter(_entities_list), std::back_inserter(_entities_list), [](QString v) { return v.toULongLong(); });
[](QString v) { return v.toULongLong(); });
} }
void EntityTotalList::saveTo(QJsonObject& obj) const void EntityTotalList::saveTo(QJsonObject& obj) const
@ -175,8 +176,7 @@ void EntityTotalList::saveTo(QJsonObject& obj) const
QStringList strs; QStringList strs;
std::transform(_entities_list.begin(), _entities_list.end(), std::transform(_entities_list.begin(), _entities_list.end(),
std::back_inserter(strs), std::back_inserter(strs), [](int v) { return QString("%1").arg(v); });
[](int v) { return QString(",").arg(v); });
STRLIST_SAVE(strs); STRLIST_SAVE(strs);
} }