diff --git a/const.go b/const.go index c1eb255..b896bd2 100644 --- a/const.go +++ b/const.go @@ -3,5 +3,5 @@ package pinduoduo const ( apiUrl = "https://gw-api.pinduoduo.com/api/router" logTable = "pinduoduo" - Version = "1.0.12" + Version = "1.0.13" ) diff --git a/request.go b/request.go index 6ea213d..c689d5c 100644 --- a/request.go +++ b/request.go @@ -28,7 +28,7 @@ func (c *Client) request(ctx context.Context, params map[string]interface{}) (go go c.log.logGormClient.GormMiddlewareCustom(ctx, gostring.ToString(params["type"]), request, Version) } if c.log.mongo { - go c.log.logMongoClient.GormMiddlewareCustom(ctx, gostring.ToString(params["type"]), request, Version) + go c.log.logMongoClient.MongoMiddlewareCustom(ctx, gostring.ToString(params["type"]), request, Version) } return request, err