Browse Source

增加打印。

Signed-off-by: zouap <zouap@pcl.ac.cn>
tags/v1.22.10.1^2
zouap 3 years ago
parent
commit
a127953342
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      modules/aisafety/resty.go

+ 3
- 3
modules/aisafety/resty.go View File

@@ -116,14 +116,14 @@ func GetAlgorithmList() error {
Get(HOST + "/v1/external/eval-standard/algorithmList")

log.Info("url=" + HOST + "/v1/external/eval-standard/algorithmList" + " sign=" + sign + " appId=" + APPID)
responseStr := string(res.Body())
log.Info("GetAlgorithmList responseStr=" + responseStr + " res code=" + fmt.Sprint(res.StatusCode()))
log.Info("taskResult=" + taskResult)

if err != nil {
log.Info("error =" + err.Error())
return fmt.Errorf("resty GetJob: %v", err)
}
log.Info("taskResult=" + taskResult)
responseStr := string(res.Body())
log.Info("GetAlgorithmList responseStr=" + responseStr + " res code=" + fmt.Sprint(res.StatusCode()))

return nil
}


Loading…
Cancel
Save