|
|
- package wechat
-
- import (
- "testing"
- )
-
- func Test_GetMpUserInfo(t *testing.T) {
- access_token := "56_V9X_7MOCa4iAxPTycxgtjftFrt_68u_T64EqSBmU-qTCF1wEG9vsfxv-4UbnEsFoTHOdwTGPkt0TCGw8fB6g9CbvipiiddE0iStdHdD_F4fnYbMqQqJ8cP9CmvM73KQJphXExnUk8Li4bmASBAGaAFAJIO"
- openid := "ocUSI5LIiU6mDPt8lFEaP9Y8mIcQ"
- ret, err := GetMpUserInfo(access_token, openid)
- t.Log(ret)
- t.Log(err)
- }
|