dever 3 years ago
parent
commit
cc073a30cd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/goods/lib/Info.php

+ 1 - 1
app/goods/lib/Info.php

@@ -512,7 +512,7 @@ class Info
                         'price' => $ginfo['price'],
                         'cover' => $ginfo['cover'],
                         'num' => $v['num'],
-                        'unit' => $ginfo['unit'],
+                        'unit' => $ginfo['unit'] ? $ginfo['unit'] : '个',
                     );
                 }
             }