mrz
This commit is contained in:
@@ -67,7 +67,7 @@ class StugetResponse(BaseModel):
|
||||
progress: int = 0
|
||||
|
||||
@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