|
@@ -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);
|
|
|
}
|
|
|
}
|