PromptRestorer: A Prompting Image Restoration Method with Degradation Perception