Home  >  Q&A  >  body text

How to get the TOKEN saved by the app in js?

The html page is embedded in the app. You need to log in to vote. How to get TOKEN
You need to log in here. How to get the TOKEN saved in the app and send it to the server.

淡淡烟草味淡淡烟草味2673 days ago1294

reply all(3)I'll reply

  • 仅有的幸福

    仅有的幸福2017-06-26 10:56:57

    1. Ask the client’s classmates to pass the token to you through the URL

    2. The client mounts the global method to the webview and obtains it directly through the method

    reply
    0
  • 三叔

    三叔2017-06-26 10:56:57

    When the app opens the webview, it can do some preprocessing on the browser, and then js can get some data.

    reply
    0
  • 我想大声告诉你

    我想大声告诉你2017-06-26 10:56:57

    Solved, haha

    reply
    0
  • Cancelreply