微信相关接口
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.

14 lines
276 B

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