mirror of
https://github.com/lkddi/Xboard.git
synced 2026-04-14 19:40:53 +08:00
feat(config): support custom telegram webhook url
This commit is contained in:
@@ -68,6 +68,7 @@ class ConfigSave extends FormRequest
|
||||
// telegram
|
||||
'telegram_bot_enable' => '',
|
||||
'telegram_bot_token' => '',
|
||||
'telegram_webhook_url' => 'nullable|url',
|
||||
'telegram_discuss_id' => '',
|
||||
'telegram_channel_id' => '',
|
||||
'telegram_discuss_link' => 'nullable|url',
|
||||
@@ -128,6 +129,7 @@ class ConfigSave extends FormRequest
|
||||
'subscribe_url.url' => '订阅URL格式不正确,必须携带http(s)://',
|
||||
'server_token.min' => '通讯密钥长度必须大于16位',
|
||||
'tos_url.url' => '服务条款URL格式不正确,必须携带http(s)://',
|
||||
'telegram_webhook_url.url' => 'Telegram Webhook地址格式不正确,必须携带http(s)://',
|
||||
'telegram_discuss_link.url' => 'Telegram群组地址必须为URL格式,必须携带http(s)://',
|
||||
'logo.url' => 'LOGO URL格式不正确,必须携带https(s)://',
|
||||
'secure_path.min' => '后台路径长度最小为8位',
|
||||
|
||||
Reference in New Issue
Block a user