This commit is contained in:
jiangyong 2025-07-09 22:04:53 +08:00
parent 278728c564
commit 3ef02a09f4
1 changed files with 0 additions and 3 deletions

View File

@ -5,8 +5,6 @@ import (
"encoding/json"
"errors"
"fmt"
log "github.com/sirupsen/logrus"
"github.com/smbrave/goutil"
"github.com/spf13/cast"
"github.com/tidwall/gjson"
"io"
@ -134,7 +132,6 @@ func (o *MpSdk) GetScheme(params map[string]interface{}) (string, error) {
if err != nil {
return "", err
}
log.Errorf("req scheme :%s [%s]", goutil.EncodeJSON(newParams), cast.ToString(newParams["query"]))
url := fmt.Sprintf("%s?access_token=%s", getWxScheme, accessToken)
res, _ := http.Post(url, "application/json", bytes.NewBuffer(marshal))
body, err := io.ReadAll(res.Body)