mirror of
https://github.com/v2board/v2board.git
synced 2025-07-30 03:49:07 +08:00
update
This commit is contained in:
@ -86,6 +86,10 @@ class ConfigController extends Controller
|
||||
],
|
||||
'email' => [
|
||||
'email_template' => config('v2board.email_template', 'default')
|
||||
],
|
||||
'telegram' => [
|
||||
'telegram_bot_enable' => config('v2board.telegram_bot_enable', 0),
|
||||
'telegram_bot_token' => config('v2board.telegram_bot_token')
|
||||
]
|
||||
]
|
||||
]);
|
||||
|
@ -61,7 +61,10 @@ class ConfigSave extends FormRequest
|
||||
'apple_id' => 'email',
|
||||
'apple_id_password' => '',
|
||||
// email
|
||||
'email_template' => ''
|
||||
'email_template' => '',
|
||||
// telegram
|
||||
'telegram_bot_enable' => 'in:0,1',
|
||||
'telegram_bot_token' => ''
|
||||
];
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user