更新 src/aliyunoss.cpp

This commit is contained in:
2026-02-12 15:07:33 +08:00
parent 7bd3001772
commit fe5f1221a6

View File

@@ -86,7 +86,7 @@ std::string module::aliyun_oss::updata(
return_msg += ",error_code:"+ s->error_code;
}
if(s->error_msg != NULL){
return_msg += ",error_msg:"+ std::to_string(s->error_msg);
return_msg += ",error_msg:"+ std::string(s->error_msg);
}
}
@@ -144,7 +144,7 @@ std::string module::aliyun_oss::upfile(const std::string& endpoint, const std::s
return_msg += ",error_code:"+ s->error_code;
}
if(s->error_msg != NULL){
return_msg += ",error_msg:"+ std::to_string(s->error_msg);
return_msg += ",error_msg:"+ std::string(s->error_msg);
}
}
@@ -195,7 +195,7 @@ std::string module::aliyun_oss::del(const std::string& endpoint, const std::stri
return_msg += ",error_code:"+ s->error_code;
}
if(s->error_msg != NULL){
return_msg += ",error_msg:"+ std::to_string(s->error_msg);
return_msg += ",error_msg:"+ std::string(s->error_msg);
}
}