Răsfoiți Sursa

分类图片

shish 3 ani în urmă
părinte
comite
ca0b7ed2f7

+ 1 - 1
biz-ghs/product/classes/ProductClass.php

@@ -113,7 +113,7 @@ class ProductClass extends BaseClass
             if (!empty($shortCover)) {
                 $parse = parse_url(self::groupImg($shortCover));
                 if (empty($parse['query'])) {
-                    $cover = self::groupImg($shortCover) . "?x-oss-process=image/resize,m_fill,h_110,w_110";
+                    $cover = self::groupImg($shortCover) . "?x-oss-process=image/resize,m_fill,h_100,w_100";
                 } else {
                     $cover = self::groupImg($shortCover);
                 }

+ 1 - 1
biz-ghs/product/services/ProductService.php

@@ -49,7 +49,7 @@ class ProductService extends BaseService
         foreach ($classIds as $classVal) {
             $classId = $classVal['id'];
             $className = $classVal['name'] ?? '';
-            $cover = imgUtil::groupImg($classVal['cover'])."?x-oss-process=image/resize,m_fill,h_130,w_130";
+            $cover = imgUtil::groupImg($classVal['cover'])."?x-oss-process=image/resize,m_fill,h_100,w_100";
             if ($classId > 0) {
                 $tmp = [];
                 $tmp['classId'] = $classId;