'required|nonempty|integer|exists:lanzu_user,id', ]; } public function messages(): array { return [ 'user_id.*' => ':attribute信息不正确', ]; } public function attributes(): array { return [ 'user_id' => '用户', ]; } }