Cooling principle of electric energy storage charging pile