1.期号记录修改为纯数字

This commit is contained in:
2026-05-29 11:53:12 +08:00
parent 0aa0809ad1
commit f286fcc56f
5 changed files with 113 additions and 10 deletions

View File

@@ -4,6 +4,7 @@ declare(strict_types=1);
namespace app\common\service;
use app\common\library\game\GamePeriodNo;
use support\think\Db;
use Throwable;
@@ -192,7 +193,7 @@ final class GameRecordService
private static function generatePeriodNo(): string
{
return date('Ymd-His') . '-' . substr(bin2hex(random_bytes(4)), 0, 8);
return GamePeriodNo::generateNext();
}
private static function truthyConfigInput(mixed $v): bool