How to balance corporate financing and customer investment sentiment? From the perspective of external environmental shocks