1
This commit is contained in:
@@ -2,7 +2,6 @@ package weixinapi
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -94,7 +93,6 @@ func (a *API) CBMessageTemplateSend(userOpenID, templateID, downloadURL string,
|
||||
bodyJson["miniprogram"] = miniProgram
|
||||
}
|
||||
|
||||
globals.SugarLogger.Debugf("cgi-bin/message/template/send======================= : %s", utils.Format4Output(bodyJson, false))
|
||||
_, err = a.AccessAPI("cgi-bin/message/template/send", nil, string(utils.MustMarshal(bodyJson)))
|
||||
return err
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@ package weixinapi
|
||||
import (
|
||||
"bytes"
|
||||
"fmt"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"math/rand"
|
||||
"mime/multipart"
|
||||
"net/http"
|
||||
@@ -93,8 +92,6 @@ func (a *API) AccessAPI(action string, params map[string]interface{}, body strin
|
||||
params2["access_token"] = accessToken
|
||||
}
|
||||
|
||||
globals.SugarLogger.Debugf("AccessAPI====================== :%s", utils.Format4Output(params2, false))
|
||||
|
||||
fullURL := utils.GenerateGetURL(prodURL, action, params2)
|
||||
// baseapi.SugarLogger.Debug(fullURL)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user