作者 lyh

gx

... ... @@ -536,7 +536,7 @@ class ImageController extends Controller
]);
$cos = new CosService();
$url = $cos->coverOriginalImage($this->param['url'],$this->param['saveUrl']);
$this->saveWatermarkImage($this->param['path'],$this->param['old_path']);
$this->saveWatermarkImage($this->param['saveUrl'],$this->param['old_url']);
$upYun = new UpyunService();
$upYun->purgePush($url);
$this->response('success',Code::SUCCESS,['url'=>$url]);
... ...