修复:新用户进入酒卡明细时报错 导致数据不渲染
This commit is contained in:
parent
f249e6d434
commit
775dc17169
|
|
@ -429,11 +429,11 @@ class Exchange extends BaseController{
|
|||
->toArray();
|
||||
|
||||
$statisticsList = [
|
||||
['title' => '总额度','value' => $statistics['total_quota']],
|
||||
['title' => '已使用额度','value' => $statistics['use_quota']],
|
||||
['title' => '总额度','value' => $statistics['total_quota'] ?? 0],
|
||||
['title' => '已使用额度','value' => $statistics['use_quota'] ?? 0],
|
||||
// ['title' => '剩余额度','value' => $statistics['surplus_quota']],
|
||||
// ['title' => '冻结额度','value' => $statistics['freeze_quota']],
|
||||
['title' => '可用额度','value' => $statistics['available']],
|
||||
['title' => '可用额度','value' => $statistics['available'] ?? 0],
|
||||
];
|
||||
|
||||
return app('json')->success($statisticsList);
|
||||
|
|
|
|||
Loading…
Reference in New Issue