6
0
Fork 0

调整用户信息返回钱包冻结状态

release
vine_liutk 2021-12-29 14:05:37 +08:00
parent 9d584b2992
commit 2aa8717ba7
1 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ class UserBalanceResource extends JsonResource
'balance'=> '0.00', 'balance'=> '0.00',
// 'total_expenses'=> $this->total_expenses, // 'total_expenses'=> $this->total_expenses,
// 'total_revenue' => $this->total_revenue, // 'total_revenue' => $this->total_revenue,
'withdrawable' => true, 'transferable' => true,
'is_frozen' => false, 'is_frozen' => false,
]; ];
} }
@ -27,7 +27,7 @@ class UserBalanceResource extends JsonResource
'balance'=>$this->balance_format, 'balance'=>$this->balance_format,
// 'total_expenses'=> $this->total_expenses, // 'total_expenses'=> $this->total_expenses,
// 'total_revenue' => $this->total_revenue, // 'total_revenue' => $this->total_revenue,
'withdrawable' => (bool) $this->withdrawable, 'transferable' => (bool) $this->transferable,
'is_frozen' => (bool) $this->is_frozen, 'is_frozen' => (bool) $this->is_frozen,
]; ];
} }