add alert when full site in promotion

This commit is contained in:
xiaomlove
2022-06-12 22:14:16 +08:00
parent 024ef8b665
commit 921f74c93e
5 changed files with 14 additions and 4 deletions
+6 -4
View File
@@ -77,10 +77,12 @@ class Test extends Command
*/
public function handle()
{
$end = Carbon::parse('2022-06-06 14:10');
$begin = Carbon::parse('2022-06-06 03:10');
$r = $end->diffInHours($begin);
dd($r);
$a = [];
if ($a) {
echo 'Bad';
} else {
echo 'OK';
}
}