mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-04 00:24:29 +08:00
feat: 完成三方平台发布管理
This commit is contained in:
@@ -264,4 +264,13 @@ class Post extends Base
|
||||
|
||||
return $value;
|
||||
}
|
||||
|
||||
public function getPostPlatformDataArrayAttr()
|
||||
{
|
||||
$data = $this->getData('post_platform_data');
|
||||
if (empty($data)) {
|
||||
return [];
|
||||
}
|
||||
return json_decode($data, true);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user