|
|
- package weixinrpc
-
- import (
- "testing"
- )
-
- func Test_GetMiniappCode(t *testing.T){
- appid := "wx3d53ccbaf69f7995"
- appSecret := "165983626235636be54a16404e3e70a7"
- page := "/pages/home/index/index"
- scene := "user_id=2"
- qrcode,err := GetMiniAppQrcode(appid,appSecret,page,scene)
-
- t.Log(qrcode)
- t.Log(err)
- }
|