...
|
...
|
@@ -93,6 +93,18 @@ class Goods extends Model |
|
|
return $value;
|
|
|
}
|
|
|
|
|
|
public function getVideoImageAttr($value)
|
|
|
{
|
|
|
if ($value) $value = cdnurl($value);
|
|
|
return $value;
|
|
|
}
|
|
|
|
|
|
public function getVideoAttr($value)
|
|
|
{
|
|
|
if ($value) $value = cdnurl($value);
|
|
|
return $value;
|
|
|
}
|
|
|
|
|
|
public function getImagesAttr($value)
|
|
|
{
|
|
|
$arr = explode(',', $value);
|
...
|
...
|
|