fix > issue #4

master
lihengming 7 years ago
parent def70c75ff
commit ec2d766f6b
  1. 2
      src/test/resources/generator/template/controller-restful.ftl

@ -28,7 +28,7 @@ public class ${modelNameUpperCamel}Controller {
@DeleteMapping("/{id}") @DeleteMapping("/{id}")
public Result delete(@PathVariable Integer id) { public Result delete(@PathVariable Integer id) {
userService.deleteById(id); ${modelNameLowerCamel}Service.deleteById(id);
return ResultGenerator.genSuccessResult(); return ResultGenerator.genSuccessResult();
} }

Loading…
Cancel
Save