From 52c45659b8465e001dfaa132d3445a74b2c6e589 Mon Sep 17 00:00:00 2001 From: Argan Date: Wed, 23 May 2018 10:41:13 +0800 Subject: [PATCH] fix code-gen Controller template --- src/main/resources/templates/vm/java/Controller.java.vm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/templates/vm/java/Controller.java.vm b/src/main/resources/templates/vm/java/Controller.java.vm index 5de361da..610bdd01 100644 --- a/src/main/resources/templates/vm/java/Controller.java.vm +++ b/src/main/resources/templates/vm/java/Controller.java.vm @@ -78,7 +78,7 @@ public class ${className}Controller extends BaseController * 保存${tableComment} */ @RequiresPermissions("${moduleName}:${classname}:save") - PostMapping("/save") + @PostMapping("/save") @ResponseBody public Message save(${className} ${classname}) {