mirror of
https://github.com/v2board/v2board.git
synced 2025-06-13 05:15:27 +08:00
update
This commit is contained in:
@ -10,9 +10,16 @@ use App\Models\ServerGroup;
|
||||
use App\Models\Server;
|
||||
use App\Models\Plan;
|
||||
use App\Models\User;
|
||||
use Illuminate\Support\Facades\Redis;
|
||||
|
||||
class StatController extends Controller
|
||||
{
|
||||
public function dashboard (Request $request) {
|
||||
return response([
|
||||
'data' => [
|
||||
'month_income' => Redis::get('month_income'),
|
||||
'month_register_total' => Redis::get('month_register_total')
|
||||
]
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user