Riding an electric car was scanned by the traffic police and then criticized and educated. Why?

It's okay.

The traffic police just scanned the health code and criticized and educated your behavior, indicating that your misconduct is not very serious. If there is no violation of traffic regulations, there is nothing wrong with taking a health code.

This situation will not have any impact. The Health Law is a tool for the prevention and control of epidemics in COVID-19. Please pay attention to driving safety and drive on the prescribed roads.