feat: 完成三方平台发布管理

This commit is contained in:
augushong
2025-05-05 10:29:49 +08:00
parent d27772ef03
commit 70b17cbd10
8 changed files with 188 additions and 96 deletions

View File

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