fix some error and add some fun
This commit is contained in:
@@ -424,8 +424,8 @@ void download_xml_for_icd(const std::string& MODEL_ID,
|
||||
|
||||
//读最新本地台账
|
||||
std::string read_latest_ledger_file() {
|
||||
const char* dir = std::string(FRONT_PATH + "/dat/ledger").c_str();
|
||||
DIR* dp = opendir(dir);
|
||||
std::string dir = FRONT_PATH + "/dat/ledger";
|
||||
DIR* dp = opendir(dir.c_str());
|
||||
if (!dp) return "";
|
||||
|
||||
struct dirent* entry;
|
||||
|
||||
Reference in New Issue
Block a user