getWxScheme
This commit is contained in:
parent
c5bc528344
commit
721d83ea00
|
@ -132,7 +132,7 @@ func (o *MpSdk) GetScheme(params map[string]interface{}) (string, error) {
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return "", err
|
return "", err
|
||||||
}
|
}
|
||||||
url := fmt.Sprintf("%s?access_token=%s", getWxACodeUnLimitUrl, accessToken)
|
url := fmt.Sprintf("%s?access_token=%s", getWxScheme, accessToken)
|
||||||
res, _ := http.Post(url, "application/json", bytes.NewBuffer(marshal))
|
res, _ := http.Post(url, "application/json", bytes.NewBuffer(marshal))
|
||||||
body, err := io.ReadAll(res.Body)
|
body, err := io.ReadAll(res.Body)
|
||||||
defer res.Body.Close()
|
defer res.Body.Close()
|
||||||
|
|
Loading…
Reference in New Issue