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" "encoding/json"
"errors" "errors"
"fmt" "fmt"
log "github.com/sirupsen/logrus"
"github.com/smbrave/goutil"
"github.com/spf13/cast" "github.com/spf13/cast"
"github.com/tidwall/gjson" "github.com/tidwall/gjson"
"io" "io"
@ -134,7 +132,6 @@ func (o *MpSdk) GetScheme(params map[string]interface{}) (string, error) {
if err != nil { if err != nil {
return "", err return "", err
} }
log.Errorf("req scheme :%s [%s]", goutil.EncodeJSON(newParams), cast.ToString(newParams["query"]))
url := fmt.Sprintf("%s?access_token=%s", getWxScheme, 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)