getWxScheme

This commit is contained in:
jiangyong 2025-07-09 20:56:50 +08:00
parent c5bc528344
commit 721d83ea00
1 changed files with 1 additions and 1 deletions

View File

@ -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()