1.期号记录修改为纯数字
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user