feat: 08 创作者与内容审核落地(入驻审核 / 内容提交审核 / 定时发布 / 分集定价)
为什么: 1) 内容是创作者供的,必须有一条可管控的供给链路:创作者入驻要审、内容提交要审、 审核通过才能真正上架 —— 否则平台无法对内容和主体负责。 2) 审核不能绕过状态机。内容提交审核通过后,是顺着短剧状态机 SUBMIT → APPROVE → PUBLISH 推上去,而不是直接写 status 字段, 这样审核记录与操作日志都不会缺环。 3) 定时发布(publish_at 到点自动上线)同样走状态机,并且做成幂等任务: 重复执行不会把已上线的剧再推一次。 4) 定价落在 is_free / unlock_coin 上,与权益表解耦:改价立即影响播放与下载判定, 但已购用户的权益不受影响,不会因为改价把用户买过的东西收回去。 5) 补齐 PM 草稿未做的部分:5 个权限点 + 3 条后台菜单(含前端组件路径)+ 超管授权(幂等), 以及后台定价页需要的价格读取接口 GET /admin/prices。
This commit is contained in:
1 parent
7e730fbbca
commit
1fb8427f28
25 files changed
+935
-3
No files matched your search
@@ -28,6 +28,7 @@
|
||||
<module>fruitshorts-module-playback</module>
|
||||
<module>fruitshorts-module-interaction</module>
|
||||
<module>fruitshorts-module-commerce</module>
|
||||
<module>fruitshorts-module-creator</module>
|
||||
<module>fruitshorts-admin-api</module>
|
||||
<module>fruitshorts-app-api</module>
|
||||
</modules>
|
||||
@@ -90,6 +91,11 @@
|
||||
<artifactId>fruitshorts-module-commerce</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.fruitshorts</groupId>
|
||||
<artifactId>fruitshorts-module-creator</artifactId>
|
||||
<version>${project.version}</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.baomidou</groupId>
|
||||
|
||||
Reference in new issue
Block a user