Browse Source

修复查询绑定接口bug

pull/62/head
JeshuaRen 2 months ago
parent
commit
9618968c58
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      sdks/pcmscheduler/jobset.go

+ 3
- 0
sdks/pcmscheduler/jobset.go View File

@@ -498,6 +498,9 @@ func (c *Client) BindDataSet(req BindReq, token string) (*BindResp, error) {
return nil, err
}

//all, err := io.ReadAll(resp.Body)
//println(string(all))

contType := resp.Header.Get("Content-Type")
if strings.Contains(contType, http2.ContentTypeJSON) {
var codeResp response2[BindResp]


Loading…
Cancel
Save