the requirement is that when I click the login button, I need to request an interface to determine whether the user has successfully logged in, change the status in store if successful, and then jump to the page according to the status. The interface that determines whether the user is logged in or not needs to be fetched before each interface request. Ask the great god for an answer. How can we do that?