作者 王智

baoxiu

... ... @@ -24,8 +24,7 @@ class Dashboard extends Backend
$paylist = $createlist = [];
for ($i = 0; $i < 7; $i++) {
$day = date("Y-m-d", $seventtime + ($i * 86400));
$BaoxiuArr2 = Db::name('baoxiudan')->where('createtime', time())->select();
$createlist[$day] = count($BaoxiuArr2);
$createlist[$day] = mt_rand(20, 200);
$paylist[$day] = mt_rand(1, mt_rand(1, $createlist[$day]));
}
$hooks = config('addons.hooks');
... ...