pzx-web-api/app/api/v1/schema/user.py
BryantHe be587a216e
All checks were successful
continuous-integration/drone/push Build is passing
feat: add logic of avatar image uploading
2023-08-16 14:15:15 +08:00

14 lines
271 B
Python

from apiflask import Schema
from apiflask.fields import String, URL, Float
class UserInfoIn(Schema):
nickname = String()
avatar_id = String()
height = Float()
class UserInfoOut(Schema):
nickname = String()
avatar_id = String()
height = Float()