feat:对接中心平台,完善接口鉴权

This commit is contained in:
2026-10-01 04:01:44 -07:00
parent 8e37d30ef2
commit 618290d852
20 changed files with 391 additions and 70 deletions
+8
View File
@@ -0,0 +1,8 @@
"""用户中心返回的当前用户,只保留本服务用到的字段"""
from pydantic import BaseModel
class CurrentUser(BaseModel):
id: int
username: str