mrz
This commit is contained in:
@@ -40,7 +40,7 @@ class StudentResponse(BaseModel):
|
||||
progress:int
|
||||
|
||||
@field_serializer('progress')
|
||||
def int_to_string(cls,progress:int):
|
||||
def int_to_string(self,progress:int):
|
||||
d1 ={
|
||||
0:'学习中',
|
||||
1:'求职中',
|
||||
|
||||
Reference in New Issue
Block a user