Skip to content

Commit

Permalink
update controller template
Browse files Browse the repository at this point in the history
  • Loading branch information
xianrendzw committed May 21, 2017
1 parent d436145 commit 99f99c2
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@ import org.springframework.web.bind.annotation.RestController;
public class ${tdo.Name}Controller
extends BaseController<${tdo.Name}Service, ${tdo.Name}, ${tdo.Name}Example, ${keyColumn.LanguageType}> {

@ApiOperation(value = "修改${tdo.ModelObject.Comment}", notes = "修改${tdo.ModelObject.Comment}")
@OpLog(name = "新增${tdo.ModelObject.Comment}")
@PostMapping(value = "")
public ${tdo.Name} add(final ${tdo.Name} po) {
this.service.add(po);
return po;
}

@ApiOperation(value = "分页获取${tdo.ModelObject.Comment}列表", notes = "分页获取${tdo.ModelObject.Comment}列表")
@OpLog(name = "分页获取${tdo.ModelObject.Comment}列表")
@GetMapping(value = "")
Expand Down

0 comments on commit 99f99c2

Please sign in to comment.