This commit is contained in:
苏尹岚
2021-02-22 16:35:24 +08:00
parent 5a3ecfad93
commit a3a86a3d16
4 changed files with 19 additions and 1 deletions

View File

@@ -537,3 +537,16 @@ func (c *JobController) RefreshJdDelivery() {
return retVal, "", err
})
}
// @Title 测试接口
// @Description 测试接口
// @Param token header string false "认证token"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /TempJob [post]
func (c *JobController) TempJob() {
c.callTempJob(func(params *tJobTempJobParams) (retVal interface{}, errCode string, err error) {
cms.TempJob()
return retVal, "", err
})
}