Browse Source

增加打印。

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

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

@@ -75,7 +75,7 @@ func CreateSafetyTask(jobName string, body interface{}) (string, error) {
log.Warn("job req:", string(reqPara[:]))

params := make(map[string]interface{})
params["appId"] = APPID
//params["appId"] = APPID

res, err := client.R().
SetHeader("Content-Type", "application/json").
@@ -104,7 +104,7 @@ func GetAlgorithmList() error {
client := getRestyClient()
var taskResult string
params := make(map[string]interface{})
params["appId"] = APPID
//params["appId"] = APPID

sign := createSign(params, KEY)

@@ -132,7 +132,7 @@ func GetTaskStatus(jobID string) error {
client := getRestyClient()
var taskResult string
params := make(map[string]interface{})
params["appId"] = APPID
//params["appId"] = APPID

res, err := client.R().
SetHeader("Content-Type", "application/json").


Loading…
Cancel
Save