WeChat.MiniProgram.Auth.code2session
You're seeing just the function
code2session
, go back to WeChat.MiniProgram.Auth module for more information.
Link to this function
code2session(client, code)
Specs
code2session(WeChat.client(), code :: String.t()) :: WeChat.response()
小程序登录
官方文档: