debug
This commit is contained in:
parent
85aeab4ab6
commit
645ee58937
@ -4,6 +4,7 @@ import (
|
|||||||
"bytes"
|
"bytes"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/TicketsBot/GoPanel/config"
|
"github.com/TicketsBot/GoPanel/config"
|
||||||
|
"github.com/apex/log"
|
||||||
"github.com/gin-gonic/contrib/sessions"
|
"github.com/gin-gonic/contrib/sessions"
|
||||||
"github.com/pasztorpisti/qs"
|
"github.com/pasztorpisti/qs"
|
||||||
"github.com/pkg/errors"
|
"github.com/pkg/errors"
|
||||||
@ -117,5 +118,6 @@ func (e *Endpoint) Request(store sessions.Session, contentType *ContentType, bod
|
|||||||
return err, nil
|
return err, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
log.Info(string(content))
|
||||||
return json.Unmarshal(content, response), res
|
return json.Unmarshal(content, response), res
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user