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

  1. package wechat
  2. import (
  3. "testing"
  4. )
  5. func Test_GetAccessToken(t *testing.T) {
  6. appid := "wxe2a6548a7ff2e558"
  7. appsecret := "51aa4769025bd2c203b0e811b7063e1b"
  8. ret, err := GetAccessToken(appid, appsecret)
  9. t.Log(ret)
  10. t.Log(err)
  11. }