|
|
@@ -4721,7 +4721,6 @@ int DealResistMove(const httplib::Request& req, const string token, char** json,
|
|
|
info.t = strLog;
|
|
|
lstFriction.emplace_back(info);
|
|
|
it = maxResist.erase(it);
|
|
|
- ++it;
|
|
|
}
|
|
|
else
|
|
|
++it;
|
|
|
@@ -4856,7 +4855,7 @@ int DealResistMove(const httplib::Request& req, const string token, char** json,
|
|
|
yyjson_mut_obj_add_val(doc, obj, "coord", coord);
|
|
|
yyjson_mut_arr_add_int(doc, coord, show_time);
|
|
|
yyjson_mut_arr_add_int(doc, coord, curr_val);
|
|
|
- yyjson_mut_obj_add_strcpy(doc, obj, "time", fmt::format("{}.{:0>3}", CTime(show_time / 1000).Format("%Y-%m-%d %H:%M:%S"), show_time % 1000).c_str());
|
|
|
+ yyjson_mut_obj_add_strcpy(doc, obj, "time", fmt::format("{}.{:0>3}", CTime(show_time/1000).Format("%Y-%m-%d %H:%M:%S"), show_time % 1000).c_str());
|
|
|
yyjson_mut_obj_add_int(doc, obj, "val", show_val);
|
|
|
yyjson_mut_obj_add_strcpy(doc, obj, "label", ANSItoUTF8(fmt::format("ÎÈֵ̬:{}", show_val)).c_str());
|
|
|
}
|