1、修改素材云样式

2、修改用户私域人像素材默认上限PRIVATE_PORTRAIT_DEFAULT_ASSET_LIMIT为50
This commit is contained in:
2026-07-11 12:16:13 +08:00
parent 32673f0f25
commit 39160822f7
9 changed files with 196 additions and 128 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ class User(Base, TimestampMixin):
# 私域人像素材总量限制。0 表示关闭模块;>0 表示启用并限制真人/虚拟、图片/视频素材总量。
private_portrait_asset_limit: Mapped[int] = mapped_column(
Integer, default=5, server_default="5", nullable=False
Integer, default=50, server_default="50", nullable=False
)
@property