|
...
|
...
|
@@ -21,4 +21,18 @@ class CustomModuleContent extends Base |
|
|
|
public function getCategoryIdAttribute($value){
|
|
|
|
return explode(',',trim($value,','));
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @remark :视频
|
|
|
|
* @name :getVideoAttribute
|
|
|
|
* @author :lyh
|
|
|
|
* @method :post
|
|
|
|
* @time :2024/1/23 14:31
|
|
|
|
*/
|
|
|
|
public function getVideoAttribute($value){
|
|
|
|
if(!empty($value)){
|
|
|
|
$value = Arr::s2a($value);
|
|
|
|
}
|
|
|
|
return $value;
|
|
|
|
}
|
|
|
|
} |
...
|
...
|
|