Commit 72f7b56d authored by wangmingming's avatar wangmingming

默认header

parent c4f5801f
...@@ -37,7 +37,7 @@ func (s *Session) Request(method, rawurl string, request *url.Request) (*models. ...@@ -37,7 +37,7 @@ func (s *Session) Request(method, rawurl string, request *url.Request) (*models.
if request == nil { if request == nil {
request = url.NewRequest() request = url.NewRequest()
} }
request.Url = rawurl
resp, err := s.Do(method, request) resp, err := s.Do(method, request)
if err != nil { if err != nil {
return nil, err return nil, err
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment