first commit

This commit is contained in:
2026-01-25 18:18:09 +08:00
commit 509312e604
8136 changed files with 2349298 additions and 0 deletions

13
common/CommonHelper.php Normal file
View File

@ -0,0 +1,13 @@
<?php
namespace app\common;
class CommonHelper
{
public static function getYear(string $title)
{
preg_match('/([0-9]+)/', $title, $y);
return $y[1] ?? date('Y');
}
}