init
This commit is contained in:
21
Google2FA.php
Normal file
21
Google2FA.php
Normal 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()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user