mirror of
				https://github.com/v2board/v2board.git
				synced 2025-11-01 01:41:47 +08:00 
			
		
		
		
	update: custom logo
This commit is contained in:
		| @@ -21,7 +21,8 @@ class CommController extends Controller | ||||
|                 'is_recaptcha' => (int)config('v2board.recaptcha_enable', 0) ? 1 : 0, | ||||
|                 'recaptcha_site_key' => config('v2board.recaptcha_site_key'), | ||||
|                 'app_description' => config('v2board.app_description'), | ||||
|                 'app_url' => config('v2board.app_url') | ||||
|                 'app_url' => config('v2board.app_url'), | ||||
|                 'logo' => config('v2board.logo'), | ||||
|             ] | ||||
|         ]); | ||||
|     } | ||||
|   | ||||
| @@ -22,6 +22,7 @@ class ConfigSave extends FormRequest | ||||
|         'commission_distribution_l2' => 'nullable|numeric', | ||||
|         'commission_distribution_l3' => 'nullable|numeric', | ||||
|         // site | ||||
|         'logo' => 'nullable|url', | ||||
|         'force_https' => 'in:0,1', | ||||
|         'safe_mode_enable' => 'in:0,1', | ||||
|         'stop_register' => 'in:0,1', | ||||
| @@ -134,7 +135,8 @@ class ConfigSave extends FormRequest | ||||
|             'subscribe_url.url' => '订阅URL格式不正确,必须携带http(s)://', | ||||
|             'server_token.min' => '通讯密钥长度必须大于16位', | ||||
|             'tos_url.url' => '服务条款URL格式不正确,必须携带http(s)://', | ||||
|             'telegram_discuss_link.url' => 'Telegram群组地址必须为URL格式,必须携带http(s)://' | ||||
|             'telegram_discuss_link.url' => 'Telegram群组地址必须为URL格式,必须携带http(s)://', | ||||
|             'logo.url' => 'LOGO URL格式不正确,必须携带https(s)://' | ||||
|         ]; | ||||
|     } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user