This commit is contained in:
richboo111
2023-02-14 14:34:23 +08:00
parent 97512b934a
commit e3ef24c337
3 changed files with 7 additions and 7 deletions

View File

@@ -39,7 +39,6 @@ func New(appID, appKey, openID string, config ...*platformapi.APIConfig) *API {
if appID == "" {
return nil
}
globals.SugarLogger.Debugf("appID====%s,appKey====%s,openID====%s", appID, appKey, openID)
return &API{
appid: appID,
appKey: appKey,
@@ -79,7 +78,6 @@ func (a *API) AccessAPI(baseUrl, actionApi, method string, bizParams map[string]
//完整请求url
fullPath := utils.GenerateGetURL(baseUrl, actionApi, nil)
globals.SugarLogger.Debugf("uupt fullPath======%s", fullPath)
globals.SugarLogger.Debugf("uupt a.appid=====%s", a.appid)
//发送请求
sendUrl := func() *http.Request {
var request *http.Request