作者 庄敏学

增加接口请求日志

@@ -75,6 +75,12 @@ func (gateway BaseServiceGateway) FastDoRequest(url, method string, param interf @@ -75,6 +75,12 @@ func (gateway BaseServiceGateway) FastDoRequest(url, method string, param interf
75 Method: method, 75 Method: method,
76 Param: param, 76 Param: param,
77 }, &data) 77 }, &data)
  78 + log.Logger.Info("接口请求:----", map[string]interface{}{
  79 + "url": url,
  80 + "method": method,
  81 + "param": param,
  82 + "data": data,
  83 + })
78 if err != nil { 84 if err != nil {
79 return err 85 return err
80 } 86 }