2. The definition of token: token is generated by the server of a string of a string, as the client requests a token, when a login server to generate a token will be the token returned to the client, the client only need to take before the request after the token request data,
3. Using a token purpose: to reduce the pressure of the server, reduce frequent query the database, server is more robust,
CodePudding user response:
Support the building Lord