This commit is contained in:
suyl
2021-06-24 10:23:03 +08:00
parent e72e5ad83f
commit 4aa9b19c99
2 changed files with 6 additions and 6 deletions

View File

@@ -553,14 +553,14 @@ func (c *JobController) TempJob() {
}
// @Title 测试接口2
// @Description 测试接口
// @Description 测试接口2
// @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) {
// @router /TempJobTest [post]
func (c *JobController) TempJobTest() {
c.callTempJobTest(func(params *tJobTempJobTestParams) (retVal interface{}, errCode string, err error) {
cms.TestTemp2(params.Data)
return retVal, "", err
})