微信相关接口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
373 B

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)
}