调整用户信息接口新增成长值字段
parent
c45bd080d4
commit
8c524d277f
|
|
@ -20,7 +20,7 @@ class UserInfoResource extends JsonResource
|
|||
'gender' => (string) $this->gender,
|
||||
'birthday' => (string) $this->birthday?->toDateString(),
|
||||
'code' => (string) $this->code,
|
||||
'balance' => '1000.00', //todo 用户余额
|
||||
'growth_value' => $this->growth_value, //用户成长值
|
||||
'points' => (int) $this->points,
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue