调整用户信息返回钱包冻结状态
parent
9d584b2992
commit
2aa8717ba7
|
|
@ -19,7 +19,7 @@ class UserBalanceResource extends JsonResource
|
|||
'balance'=> '0.00',
|
||||
// 'total_expenses'=> $this->total_expenses,
|
||||
// 'total_revenue' => $this->total_revenue,
|
||||
'withdrawable' => true,
|
||||
'transferable' => true,
|
||||
'is_frozen' => false,
|
||||
];
|
||||
}
|
||||
|
|
@ -27,7 +27,7 @@ class UserBalanceResource extends JsonResource
|
|||
'balance'=>$this->balance_format,
|
||||
// 'total_expenses'=> $this->total_expenses,
|
||||
// 'total_revenue' => $this->total_revenue,
|
||||
'withdrawable' => (bool) $this->withdrawable,
|
||||
'transferable' => (bool) $this->transferable,
|
||||
'is_frozen' => (bool) $this->is_frozen,
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue