6
0
Fork 0

调整获取用户钱包报错

release
vine_liutk 2021-12-25 11:14:36 +08:00
parent 8a5087aae7
commit bd2e57346a
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ class UserWalletResource extends JsonResource
// 'total_expenses'=> $this->total_expenses,
// 'total_revenue' => $this->total_revenue,
// 'withdrawable' => $this->withdrawable,
'has_password' => (bool) is_null($this->password) ? false : true,
'has_password' => (bool) is_null($this?->password) ? false : true,
];
}
}