'required', 'payment' => 'required', 'config' => 'required' ]; } public function messages() { return [ 'name.required' => '显示名称不能为空', 'payment.required' => '网关参数不能为空', 'config.required' => '配置参数不能为空' ]; } }