1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user