pzx-web-api/app/api/v1/schema/user.py

14 lines
271 B
Python
Raw Normal View History

2023-08-15 17:49:05 +08:00
from apiflask import Schema
from apiflask.fields import String, URL, Float
class UserInfoIn(Schema):
nickname = String()
avatar_id = String()
2023-08-15 17:49:05 +08:00
height = Float()
class UserInfoOut(Schema):
nickname = String()
avatar_id = String()
2023-08-15 17:49:05 +08:00
height = Float()