feat: scan

This commit is contained in:
hashbro
2026-09-12 23:53:53 +08:00
parent e294053285
commit 558912864d
36 changed files with 4165 additions and 15 deletions
+27
View File
@@ -0,0 +1,27 @@
<?php
namespace App\Services;
class MnemonicScanStatus
{
public const PENDING = 0;
public const EMPTY = 1;
public const SUSPECTED = 2;
public const CONFIRMED = 3;
public const FAILED = 4;
public static function label(int $status): string
{
return match ($status) {
self::EMPTY => '已扫',
self::SUSPECTED => '疑似',
self::CONFIRMED => '确定含有',
self::FAILED => '失败',
default => '未扫',
};
}
}