|
|
@@ -498,6 +498,9 @@ func (c *Client) BindDataSet(req BindReq, token string) (*BindResp, error) { |
|
|
return nil, err |
|
|
return nil, err |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
//all, err := io.ReadAll(resp.Body) |
|
|
|
|
|
//println(string(all)) |
|
|
|
|
|
|
|
|
contType := resp.Header.Get("Content-Type") |
|
|
contType := resp.Header.Get("Content-Type") |
|
|
if strings.Contains(contType, http2.ContentTypeJSON) { |
|
|
if strings.Contains(contType, http2.ContentTypeJSON) { |
|
|
var codeResp response2[BindResp] |
|
|
var codeResp response2[BindResp] |
|
|
|