fix: 修改用户信息接口的返回值
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-08-19 12:31:22 +08:00
parent 330084ea4a
commit d039cc69e1
2 changed files with 16 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
from apiflask import Schema
from apiflask.fields import String, Float
from apiflask.fields import String, Float, URL
class UserInfoIn(Schema):
@@ -10,4 +10,5 @@ class UserInfoIn(Schema):
class UserInfoOut(Schema):
nickname = String()
avatar_id = String()
avatar_url = URL()
height = Float(allow_nan=True)