This commit is contained in:
suyl
2021-08-10 09:34:14 +08:00
parent 3a907781ca
commit 09627451a1
2 changed files with 22 additions and 22 deletions

View File

@@ -29,7 +29,7 @@ func (c *JobController) PublishJob() {
c.callPublishJob(func(params *tJobPublishJobParams) (retVal interface{}, errCode string, err error) {
var job *model.JobExt
if err = utils.UnmarshalUseNumber([]byte(params.Payload), &job); err == nil {
errCode, err = cms.PublishJob(params.Ctx, job)
_, errCode, err = cms.PublishJob(params.Ctx, job)
}
return retVal, errCode, err
})