You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-library/service/pinduoduo/api.go

15 lines
308 B

package pinduoduo
import (
"context"
)
func (c *Client) Get(ctx context.Context, _method string, notMustParams ...Params) ([]byte, error) {
// 参数
params := NewParamsWithType(_method, notMustParams...)
// 请求
request, err := c.request(ctx, params)
// 定义
return request.ResponseBody, err
}