|
|
- package wechat
-
- import (
- "testing"
- )
-
- func Test_GetMpOpenid(t *testing.T) {
- appid := "wx470b16375ed3c1ae"
- appsecret := "cd567382c953c478626f4b7446c3508e"
- code := "053gTKkl2FAV394okUkl2j4EvB0gTKkZ"
- ret, err := GetMpOpenid(appid, appsecret, code)
- t.Log(ret)
- t.Log(err)
- }
|