Loading…

The currently logged in user is bound to WeChat Mini Programopenid/unionId

Table of contents on this page
# V11 version ```javascript WXAPI.bindOpenidV11({ token: '000', code: '1111', unbindOriginal: true }} ``` + token currently has user login credentials + Temporary certificate returned by code applet login interface + unbindOriginal If the current openid is bound to another account, whether to automatically unbind the originally bound account? # V1 version ```javascript WXAPI.bindOpenid(token, code) ``` + token currently has user login credentials + Temporary certificate returned by code applet login interface # V2 version ```javascript WXAPI.bindOpenidV2(token, code, appid) ``` + token currently has user login credentials + Temporary certificate returned by code applet login interface + appid corresponds to the appid of the mini program