query
This commit is contained in:
parent
278728c564
commit
3ef02a09f4
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue