Browse Source

update syncreportmessage error msg

pull/447/head
tzwang 8 months ago
parent
commit
73a71fb9dd
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      internal/scheduler/service/utils/jcs/middleware.go

+ 3
- 3
internal/scheduler/service/utils/jcs/middleware.go View File

@@ -19,9 +19,9 @@ type ReportMessage struct {

func StatusReport(url string, report *JobStatusReportReq) error {
resp := struct {
Code int `json:"code"`
Msg string `json:"msg"`
Data interface{} `json:"data"`
Code string `json:"code"`
Msg string `json:"msg"`
Data string `json:"data"`
}{}

req := common.GetRestyRequest(common.TIMEOUT)


Loading…
Cancel
Save