This commit is contained in:
邹宗楠
2026-04-22 11:39:17 +08:00
parent ce17598e8f
commit e5ed37fd49
3 changed files with 2 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ package weixinapi
import (
"bytes"
"fmt"
"git.rosy.net.cn/jx-callback/globals"
"math/rand"
"mime/multipart"
"net/http"
@@ -89,6 +90,7 @@ func (a *API) AccessAPI(action string, params map[string]interface{}, body strin
if accessToken == "" {
panic("token is empty!")
}
globals.SugarLogger.Debugf("-------token := %s, action := %s", accessToken, action)
params2["access_token"] = accessToken
}
fullURL := utils.GenerateGetURL(prodURL, action, params2)