|
@@ -209,7 +209,6 @@ class ImageController extends Controller |
|
@@ -209,7 +209,6 @@ class ImageController extends Controller |
|
209
|
if($this->upload_location == 0){
|
209
|
if($this->upload_location == 0){
|
|
210
|
$watermarkOptions = $this->getProjectConfig($this->cache['project_id'] ?? 0);
|
210
|
$watermarkOptions = $this->getProjectConfig($this->cache['project_id'] ?? 0);
|
|
211
|
$cosService = new CosService();
|
211
|
$cosService = new CosService();
|
|
212
|
- @file_put_contents(storage_path('logs/lyh_error.log'), var_export($watermarkOptions, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
213
|
$cosService->uploadFile($file,$this->path,$fileName,$watermarkOptions);
|
212
|
$cosService->uploadFile($file,$this->path,$fileName,$watermarkOptions);
|
|
214
|
}else{
|
213
|
}else{
|
|
215
|
//TODO::上传亚马逊
|
214
|
//TODO::上传亚马逊
|