resj
This commit is contained in:
@@ -382,3 +382,16 @@ func (c *JobController) UserRefundEjy() {
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
// @Title 刷新任务状态
|
||||
// @Description 刷新任务状态
|
||||
// @Param token header string true "认证token"
|
||||
// @Success 200 {object} controllers.CallResult
|
||||
// @Failure 200 {object} controllers.CallResult
|
||||
// @router /RefreshJobStatus [post]
|
||||
func (c *JobController) RefreshJobStatus() {
|
||||
c.callRefreshJobStatus(func(params *tJobRefreshJobStatusParams) (retVal interface{}, errCode string, err error) {
|
||||
err = cms.RefreshJobStatus(params.Ctx)
|
||||
return retVal, "", err
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user