fix调整
This commit is contained in:
@@ -3,6 +3,7 @@ package curl
|
||||
import (
|
||||
"bytes"
|
||||
"context"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
@@ -86,7 +87,8 @@ type (
|
||||
|
||||
// PostJson请求
|
||||
func (c *defaultClient) PostJson(jsonData interface{}, res interface{}) error {
|
||||
//logc.Infof(c.ctx, "客户端名称 Client PostJson jsonData:%+v", jsonData)
|
||||
jsonDataB, _ := json.Marshal(jsonData)
|
||||
logc.Infof(c.ctx, "客户端名称 Client PostJson jsonDataB:%+v", jsonDataB)
|
||||
|
||||
logc.Infof(c.ctx, "客户端名称 请求开始时间:%+v", time.Now().UTC())
|
||||
resp, err := c.client.
|
||||
|
||||
Reference in New Issue
Block a user