|
@@ -194,6 +194,8 @@ func (p *PastureClient) GetToken() error {
|
|
|
if err != nil {
|
|
|
return xerr.WithStack(err)
|
|
|
}
|
|
|
+
|
|
|
+ fmt.Println("===body==========", string(b))
|
|
|
req, err := http.NewRequest(http.MethodPost, url, bytes.NewReader(b))
|
|
|
if err != nil {
|
|
|
zaplog.Error("PastureClient", zap.Any("GetToken", err))
|