Browse Source

完善功能

gorden 11 months ago
parent
commit
4d2ac22917
1 changed files with 3 additions and 0 deletions
  1. 3 0
      app/admin/service/goods/GoodsService.php

+ 3 - 0
app/admin/service/goods/GoodsService.php

@@ -110,6 +110,9 @@ class GoodsService
 
         foreach ($rows as &$row) {
             $row['goods_cover'] = getenv('STORAGE_DOMAIN') . $row['goods_cover'];
+            if (isset($row['running'])) {
+                $row['running']['goods_running_storage'] = intval($row['running']['goods_running_storage']);
+            }
 //            if (!empty($row['component'])) {
 //                $ids = [];
 //                $contentList = [];