This commit is contained in:
root
2020-01-20 16:16:59 +08:00
parent 10510164e4
commit 12278e143e
2 changed files with 7 additions and 4 deletions

View File

@ -42,6 +42,9 @@ class ConfigSave extends FormRequest
'paytaro_enable' => 'in:0,1',
'paytaro_app_id' => '',
'paytaro_app_secret' => '',
// frontend
'frontend_theme' => 'in:1,2',
'frontend_background_url' => 'nullable|url',
// tutorial
'apple_id' => 'email',
'apple_id_password' => ''
@ -49,7 +52,6 @@ class ConfigSave extends FormRequest
public static function filter()
{
// abort(500, json_encode(array_keys(self::RULES)));
return array_keys(self::RULES);
}