|
@@ -1324,14 +1324,14 @@ std::string ProtoParser::kickoffGroupMemberPack(std::string requestJson, uint32_
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
{
|
|
{
|
|
auto &item = arr[i];
|
|
auto &item = arr[i];
|
|
- par.set_removed_member(i, item.GetString());
|
|
|
|
|
|
+ par.add_removed_member( item.GetString());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
{
|
|
{
|
|
auto arr = doc["to_line"].GetArray();
|
|
auto arr = doc["to_line"].GetArray();
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
{
|
|
{
|
|
- par.set_to_line(i, arr[i].GetInt());
|
|
|
|
|
|
+ par.add_to_line(arr[i].GetInt());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (doc.HasMember("notify_content"))
|
|
if (doc.HasMember("notify_content"))
|
|
@@ -1369,7 +1369,7 @@ std::string ProtoParser::modifyGroupInfoPack(std::string requestJson, uint32_t &
|
|
auto arr = doc["to_line"].GetArray();
|
|
auto arr = doc["to_line"].GetArray();
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
{
|
|
{
|
|
- par.set_to_line(i, arr[i].GetInt());
|
|
|
|
|
|
+ par.add_to_line(arr[i].GetInt());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (doc.HasMember("notify_content"))
|
|
if (doc.HasMember("notify_content"))
|
|
@@ -1408,7 +1408,7 @@ std::string ProtoParser::modifyGroupAliasPack(std::string requestJson, uint32_t
|
|
auto arr = doc["to_line"].GetArray();
|
|
auto arr = doc["to_line"].GetArray();
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
{
|
|
{
|
|
- par.set_to_line(i, arr[i].GetInt());
|
|
|
|
|
|
+ par.add_to_line(arr[i].GetInt());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (doc.HasMember("notify_content"))
|
|
if (doc.HasMember("notify_content"))
|
|
@@ -1467,7 +1467,7 @@ std::string ProtoParser::transferGroupPack(std::string requestJson, uint32_t &ms
|
|
auto arr = doc["to_line"].GetArray();
|
|
auto arr = doc["to_line"].GetArray();
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
{
|
|
{
|
|
- par.set_to_line(i, arr[i].GetInt());
|
|
|
|
|
|
+ par.add_to_line(arr[i].GetInt());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (doc.HasMember("notify_content"))
|
|
if (doc.HasMember("notify_content"))
|
|
@@ -1503,14 +1503,14 @@ std::string ProtoParser::setGroupManagerPack(std::string requestJson, uint32_t &
|
|
auto arr = doc["user_id"].GetArray();
|
|
auto arr = doc["user_id"].GetArray();
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
{
|
|
{
|
|
- par.set_user_id(i, arr[i].GetString());
|
|
|
|
|
|
+ par.add_user_id(arr[i].GetString());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
{
|
|
{
|
|
auto arr = doc["to_line"].GetArray();
|
|
auto arr = doc["to_line"].GetArray();
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
{
|
|
{
|
|
- par.set_to_line(i, arr[i].GetInt());
|
|
|
|
|
|
+ par.add_to_line(arr[i].GetInt());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (doc.HasMember("notify_content"))
|
|
if (doc.HasMember("notify_content"))
|
|
@@ -1569,7 +1569,7 @@ std::string ProtoParser::modifyGroupMemberAliasPack(std::string requestJson, uin
|
|
auto arr = doc["to_line"].GetArray();
|
|
auto arr = doc["to_line"].GetArray();
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
{
|
|
{
|
|
- par.set_to_line(i, arr[i].GetInt());
|
|
|
|
|
|
+ par.add_to_line(arr[i].GetInt());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (doc.HasMember("notify_content"))
|
|
if (doc.HasMember("notify_content"))
|
|
@@ -1608,7 +1608,7 @@ std::string ProtoParser::modifyGroupMemberExtraPack(std::string requestJson, uin
|
|
auto arr = doc["to_line"].GetArray();
|
|
auto arr = doc["to_line"].GetArray();
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
for (int i = 0; i < arr.Size(); i++)
|
|
{
|
|
{
|
|
- par.set_to_line(i, arr[i].GetInt());
|
|
|
|
|
|
+ par.add_to_line(arr[i].GetInt());
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (doc.HasMember("notify_content"))
|
|
if (doc.HasMember("notify_content"))
|