|
...
|
...
|
@@ -14,6 +14,7 @@ use App\Models\Project\Project; |
|
|
|
use App\Services\AmazonS3Service;
|
|
|
|
use App\Services\CosService;
|
|
|
|
use App\Services\TencentCosService;
|
|
|
|
use App\Services\UpyunService;
|
|
|
|
use Illuminate\Http\Exceptions\HttpResponseException;
|
|
|
|
use Illuminate\Http\JsonResponse;
|
|
|
|
use Illuminate\Support\Facades\Cache;
|
|
...
|
...
|
@@ -532,6 +533,8 @@ class ImageController extends Controller |
|
|
|
]);
|
|
|
|
$cos = new CosService();
|
|
|
|
$url = $cos->coverOriginalImage($this->param['url'],$this->param['saveUrl']);
|
|
|
|
$upYun = new UpyunService();
|
|
|
|
$upYun->purgePush($url);
|
|
|
|
$this->response('success',Code::SUCCESS,['url'=>$url]);
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|