新增用户授权功能
This commit is contained in:
@@ -24,6 +24,9 @@ class UserOAuth(Base, TimestampMixin, SoftDeleteMixin):
|
||||
account_username: Mapped[str | None] = mapped_column(
|
||||
String(128), nullable=True, comment="授权账户登录账号"
|
||||
)
|
||||
account_userid: Mapped[str | None] = mapped_column(
|
||||
String(128), nullable=True, comment="授权账户登录userid,同一个用户不同的授权账户token不一样"
|
||||
)
|
||||
user_id: Mapped[str] = mapped_column(
|
||||
String(32), nullable=False, index=True,
|
||||
comment="用户id"
|
||||
|
||||
Reference in New Issue
Block a user