新增应用管理授权链接,授权公司

This commit is contained in:
18610128193
2026-06-10 16:37:43 +08:00
parent 488f0e082e
commit f46a0da040
5 changed files with 55 additions and 2 deletions
@@ -22,6 +22,12 @@ class UserOAuthApp(Base, TimestampMixin, SoftDeleteMixin):
count: Mapped[int] = mapped_column(
BigInteger, nullable=False, default=100, comment="应用最大可以授权多少个用户"
)
auth_url: Mapped[str] = mapped_column(
String(256), nullable=True, comment="应用授权链接"
)
company: Mapped[str] = mapped_column(
String(256), nullable=True, comment="应用归属公司名称"
)
open_type: Mapped[int] = mapped_column(
BigInteger, nullable=False, index=True, comment="开户方式(1=千川,2=广告,3=本地推,4=星图,5=快手代理商,6=巨量星图,7=巨量服务单,8=腾讯服务单,9=腾讯营销K2,10=腾讯营销K3)"
)