Detection Method for Prompt Injection by Integrating Pre-trained Model and Heuristic Feature Engineering