作者 邓超

附件

@@ -118,6 +118,7 @@ class Attachment { @@ -118,6 +118,7 @@ class Attachment {
118 if(@file_put_contents($path.$filename,$this->getContent())){ 118 if(@file_put_contents($path.$filename,$this->getContent())){
119 return $path.$filename; 119 return $path.$filename;
120 } 120 }
  121 + logs('写入附件失败了 .'.error_get_last());
121 122
122 return false; 123 return false;
123 } 124 }