|
@@ -114,7 +114,7 @@ class PostRepositories
|
|
|
}
|
|
|
$allImg = array_merge($imgs, [$request['img']]);
|
|
|
foreach($allImg as &$img){
|
|
|
- $img = $img .'&x-oss-process=image/resize,w_1024,h_2048/quality,Q_50';
|
|
|
+ $img = $img .'&x-oss-process=image/resize,p_50/quality,Q_50';
|
|
|
}
|
|
|
$detectionImageResult = $this->detectionService->checkImg($allImg);
|
|
|
if ($detectionImageResult['code']<0) {
|