作者 刘锟

update

@@ -95,11 +95,11 @@ class CosService @@ -95,11 +95,11 @@ class CosService
95 'Key' => $key, 95 'Key' => $key,
96 'Body' => fopen($file_url, 'r'), 96 'Body' => fopen($file_url, 'r'),
97 ]); 97 ]);
  98 + return $key;
98 }catch (\Exception $e){ 99 }catch (\Exception $e){
99 LogUtils::error('uploadRemote error', $e->getMessage()); 100 LogUtils::error('uploadRemote error', $e->getMessage());
  101 + return '';
100 } 102 }
101 -  
102 - return $key;  
103 } 103 }
104 104
105 } 105 }