local ledger funtion finish

This commit is contained in:
lnk
2025-05-14 16:42:29 +08:00
parent a6685ca801
commit 093e8e5dd6
6 changed files with 303 additions and 30 deletions

View File

@@ -956,7 +956,7 @@ void parse_set(const std::string& json_str) {
std::string frontType = front->valuestring;
if (index_value != g_front_seg_index) {
if (index_value != g_front_seg_index && g_front_seg_index != 0) {
std::cout << "msg index:"<< index_value <<"doesnt match self index:" << g_front_seg_index << std::endl;
cJSON_Delete(root);
return;
@@ -1012,7 +1012,7 @@ void parse_set(const std::string& json_str) {
//上送日志
apr_sleep(apr_time_from_sec(10));
exit(-1039);
::_exit(-1039); //进程退出
}
else{
std::cout << "param is not executable" <<std::endl;