aaa
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user