This commit is contained in:
2022-12-02 11:52:48 +08:00
commit b134b73709
13 changed files with 587 additions and 0 deletions

21
Google2FA.php Normal file
View File

@@ -0,0 +1,21 @@
<?php
namespace Modules\Google2FA;
use Illuminate\Support\Facades\Artisan;
class Google2FA
{
protected static string $mainTitle = '谷歌两步验证';
public static function install()
{
Artisan::call('migrate', [
'--path' => 'modules/Google2FA/Database/Migrations',
]);
}
public static function uninstall()
{
}
}