songxingwei 2 years ago
parent
commit
80ad592ad6
1 changed files with 3 additions and 4 deletions
  1. 3 4
      app/data/sys.php

+ 3 - 4
app/data/sys.php

@@ -55,10 +55,9 @@ if (!function_exists('show_goods_spec')) {
     {
 
         $specs = [];
-        dump($spec);
-//        foreach (explode(';;', $spec) as $sp) {
-//            $specs[] = explode('::', $sp)[1];
-//        }
+        foreach (explode(';;', $spec) as $sp) {
+            $specs[] = explode('::', $sp)[1];
+        }
         return join(' ', $specs);
     }
 }