获取小程序码
This commit is contained in:
19
platformapi/weixinapi/wxa.go
Normal file
19
platformapi/weixinapi/wxa.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package weixinapi
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
)
|
||||
|
||||
//获取小程序码
|
||||
func (a *API) GetUnlimited(scene, page string) (results interface{}, err error) {
|
||||
params := map[string]interface{}{
|
||||
"scene": scene,
|
||||
"page": page,
|
||||
}
|
||||
bytes, err := json.Marshal(params)
|
||||
if err != nil {
|
||||
return results, err
|
||||
}
|
||||
results, err = a.AccessAPI("wxa/getwxacodeunlimit", nil, string(bytes))
|
||||
return results, err
|
||||
}
|
||||
Reference in New Issue
Block a user