How to get user id?

there is an h5 page embedded in the encapsulated APP. After the function of issuing an order, how can I get the user"s id to add the address and place the order

Feb.26,2021

is app written natively? If yes, pure js cannot get the login user's information


. In this case, Native needs to provide an interface to Js. Provides an interface that allows Js to obtain login user information from Native.

Menu