This commit is contained in:
root
2020-01-11 13:36:52 +08:00
parent 35f954cd84
commit f7fdfadfb0
87 changed files with 1241 additions and 947 deletions

View File

@ -42,10 +42,12 @@ class ConfigSave extends FormRequest
'apple_id_password' => ''
];
public static function filter() {
// abort(500, json_encode(array_keys(self::RULES)));
public static function filter()
{
// abort(500, json_encode(array_keys(self::RULES)));
return array_keys(self::RULES);
}
/**
* Get the validation rules that apply to the request.
*
@ -55,7 +57,7 @@ class ConfigSave extends FormRequest
{
return self::RULES;
}
public function messages()
{
return [