From 32c92b67e11faf206cbc60b31b75188f42e03a67 Mon Sep 17 00:00:00 2001 From: 1585346868 <1585346868@qq.com> Date: Thu, 12 Feb 2026 15:08:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20src/aliyunoss.cpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/aliyunoss.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/aliyunoss.cpp b/src/aliyunoss.cpp index 4a0a1bf..787104d 100644 --- a/src/aliyunoss.cpp +++ b/src/aliyunoss.cpp @@ -83,7 +83,7 @@ std::string module::aliyun_oss::updata( return_msg += ",code:"+ std::to_string(s->code); } if(s->error_code != NULL){ - return_msg += ",error_code:"+ s->error_code; + return_msg += ",error_code:"+ std::string(s->error_code); } if(s->error_msg != NULL){ return_msg += ",error_msg:"+ std::string(s->error_msg); @@ -141,7 +141,7 @@ std::string module::aliyun_oss::upfile(const std::string& endpoint, const std::s return_msg += ",code:"+ std::to_string(s->code); } if(s->error_code != NULL){ - return_msg += ",error_code:"+ s->error_code; + return_msg += ",error_code:"+ std::string(s->error_code); } if(s->error_msg != NULL){ return_msg += ",error_msg:"+ std::string(s->error_msg); @@ -192,7 +192,7 @@ std::string module::aliyun_oss::del(const std::string& endpoint, const std::stri return_msg += ",code:"+ std::to_string(s->code); } if(s->error_code != NULL){ - return_msg += ",error_code:"+ s->error_code; + return_msg += ",error_code:"+ std::string(s->error_code); } if(s->error_msg != NULL){ return_msg += ",error_msg:"+ std::string(s->error_msg);