Skip to content

Commit

Permalink
修改为联通配置,测试
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankHan1233 committed Jan 31, 2025
1 parent 1e5e40d commit f3ca412
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/app/iptv/hwctc/authenticator.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,11 +233,12 @@ func (c *Client) validAuthenticationHWCTC(ctx context.Context, encryptToken stri
}

// 解析响应内容
result, err := io.ReadAll(resp.Body)
respBody := resp.Body
result, err := io.ReadAll(respBody)
if err != nil {
return nil, err
}
reader, err := gzip.NewReader(resp.Body)
reader, err := gzip.NewReader(respBody)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit f3ca412

Please sign in to comment.