Browse Source

fix: 测试

super-yimizi 1 month ago
parent
commit
67be438a2d
1 changed files with 4 additions and 1 deletions
  1. 4 1
      application/common/Service/DiscountService.php

+ 4 - 1
application/common/Service/DiscountService.php

@@ -365,7 +365,10 @@ class DiscountService
                 }
             }
         }
-        
+        //  处理图像的 
+        foreach ($processedGoods as &$goodsItem) {
+            $goodsItem['image'] = cdnurl($goodsItem['image'], true);
+        }
         // 在活动信息中添加商品数组字段
         $activity['goods'] = array_values($processedGoods);