This paper focuses on the innovative application of civil and commercial law in the context of e-commerce in the Internet era, and explores how e-commerce affects the application and innovation of civil and commercial law, aiming to provide theoretical support and practical guidance for the legal environment in the era of e-commerce. A combination of theoretical Analysis and Poisson regression model is used to analyse the impact of e-commerce on civil and commercial law, and a robust regression model based on mean drift penalty is constructed for quantitative Analysis. It is found that the development of e-commerce positively impacts the effectiveness of civil and commercial law. The data show that for every unit increase in the level of e-commerce development, the efficacy of civil and commercial law increases by 0.318 points (p<0.01). In addition, regional analyses show that e-commerce has the most significant impact on civil and commercial law in the central region, followed by the west and the east, and the impact is not substantial in the northeast. The time-lag effect analysis shows a weak lag effect on the impact of e-commerce development on the effectiveness of civil and commercial law. The conclusion indicates that in the context of the rapid growth of e-commerce, it is necessary to innovate the application of civil and commercial law to adapt to the new business environment, protect the legitimate rights and interests of both parties to the transaction, and promote the healthy development of e-commerce.