Plant leaf diseases are a major cause of plant mortality, especially in crops. Timely and accurately identifying disease types and implementing proper treatment measures in the early stages of leaf diseases are crucial for healthy plant growth. Traditional plant disease identification methods rely heavily on visual inspection by experts in plant pathology, which is time-consuming and requires a high level of expertise. So, this approach fails to gain widespread adoption. To overcome these challenges, we propose a channel extension residual structure and adaptive channel attention mechanism for plant leaf disease classification network (ERCP-Net). It consists of channel extension residual block (CER-Block), adaptive channel attention block (ACA-Block), and bidirectional information fusion block (BIF-Block). Meanwhile, an application for the real-time detection of plant leaf diseases is being created to assist precision agriculture in practical situations. Finally, experiments were conducted to compare our model with other state-of-the-art deep learning methods on the PlantVillage and AI Challenger 2018 datasets. Experimental results show that our model achieved an accuracy of 99.82% and 86.21%, respectively. Also, it demonstrates excellent robustness and scalability, highlighting its potential for practical implementation.