Browse Source

为空返回0

master
wanghongjun 2 years ago
parent
commit
cb85d3d793
  1. 2
      app/controller/AdminStatistics.php

2
app/controller/AdminStatistics.php

@ -37,7 +37,7 @@ class AdminStatistics extends BaseController
'update_time' => date("Y/m/d H:i",time()), 'update_time' => date("Y/m/d H:i",time()),
'down_scores_quota' => [ 'down_scores_quota' => [
'title' => '待下分额度', 'title' => '待下分额度',
'quota' => bcadd($userData->quota,$agentData->quota,2) 'quota' => bcadd($userData->quota,$agentData->quota,2) ?: 0
] ]
]); ]);
} }

Loading…
Cancel
Save