余额不足

This commit is contained in:
苏尹岚
2020-10-29 14:05:41 +08:00
parent b485bb7bec
commit 658b005f61
2 changed files with 2 additions and 3 deletions

View File

@@ -24,9 +24,9 @@ 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 {
err = cms.PublishJob(params.Ctx, job)
errCode, err = cms.PublishJob(params.Ctx, job)
}
return retVal, "", err
return retVal, errCode, err
})
}