(If it is judged that it has been used once, and the request login interface cannot obtain information, directly use the stored token to brush the steps to reduce the login times (prevent frequent login)Judge the token. If the token is invalid, it will request login again, refresh the steps and save the login information again. (prevent web token invalidation after client login)Determine whether the mobile phone number and password are the same as the cookie. If it is different, request login again, refresh the steps and save the login information again. (prevent password modification or stored login information from being inconsistent with input)The cookie storage time is 30 days by default (the valid time of the token is temporarily unknown. If it fails, the token will be stored again). You can modify the source code. JS file is simply compressed without encryption, but Xiaobai can understand it.You need to configure nginx yourself to solve cross domain problems. You still only use two interfaces:)