This commit is contained in:
suyl
2021-06-24 10:13:18 +08:00
parent afea334ca0
commit dc2ef79fc0
3 changed files with 34 additions and 2 deletions

View File

@@ -551,3 +551,17 @@ func (c *JobController) TempJob() {
return retVal, "", err
})
}
// @Title 测试接口2
// @Description 测试接口
// @Param token header string false "认证token"
// @Param data formData string false "data"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /TempJob2 [post]
func (c *JobController) TempJob2() {
c.callTempJob2(func(params *tJobTempJob2Params) (retVal interface{}, errCode string, err error) {
cms.TestTemp2(params.Data)
return retVal, "", err
})
}