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

  1. package wechat
  2. import (
  3. "testing"
  4. )
  5. func Test_GetMpOpenid(t *testing.T) {
  6. appid := "wx470b16375ed3c1ae"
  7. appsecret := "cd567382c953c478626f4b7446c3508e"
  8. code := "053gTKkl2FAV394okUkl2j4EvB0gTKkZ"
  9. ret, err := GetMpOpenid(appid, appsecret, code)
  10. t.Log(ret)
  11. t.Log(err)
  12. }