|
|
@ -209,7 +209,9 @@ class Index extends AdminBaseController |
|
|
|
// 等待处理提款订单数量 |
|
|
|
$pendingWithdraw = UserWithdrawalModel::where('status', 4)->where($whereInUser)->count(); |
|
|
|
// 等待实名审核数量 |
|
|
|
$pendingUserVerify = UserVerifyLogModel::where('status', 1)->where($whereInUser)->count(); |
|
|
|
$awaitingRealName = UserVerifyLogModel::where('status', 1)->where($whereInUser)->count(); // 待审核实名认证用户数 |
|
|
|
$approvedRealName = UserVerifyLogModel::where('status', 2)->where($whereInUser)->count(); // 审核通过实名认证用户数 |
|
|
|
$failedRealName = UserVerifyLogModel::where('status', 3)->where($whereInUser)->count(); // 审核失败实名认证用户数 |
|
|
|
|
|
|
|
$data = [ |
|
|
|
'todayRegisterNum' => $todayRegisterNum, // 今日注册用户 |
|
|
@ -230,9 +232,12 @@ class Index extends AdminBaseController |
|
|
|
'todayWithdrawAmount' => $todayWithdrawAmount, // 今日提款金额 |
|
|
|
'totalWithdrawAmount' => $totalWithdrawAmount, // 总提款金额 |
|
|
|
|
|
|
|
'no_deal_recharge' => $pendingRecharge, // 等待处理充值订单数量 |
|
|
|
'no_deal_recharge' => $pendingRecharge, // 等待处理充值订单数量 |
|
|
|
'no_deal_withdraw' => $pendingWithdraw, // 等待处理提款订单数量 |
|
|
|
'no_deal_real' => $pendingUserVerify, // 等待实名审核数量 |
|
|
|
|
|
|
|
'awaiting_real_name' => $awaitingRealName, // 等待实名审核用户数 |
|
|
|
'approved_real_name' => $approvedRealName, // 实名审核通过用户数 |
|
|
|
'failed_real_name' => $failedRealName, // 实名审核失败用户数 |
|
|
|
]; |
|
|
|
|
|
|
|
return json(['code' => '0', 'message' => 'SUCCESS', 'data' => $data]); |
|
|
|