From 620809c05eb6e0df2bf7273f0f0b57f029a13581 Mon Sep 17 00:00:00 2001 From: lbw Date: Thu, 22 Jul 2021 08:32:29 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20Introducing=20new=20features.=20?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90=20contro?= =?UTF-8?q?ller=20=E4=BD=BF=E7=94=A8=E6=9D=A1=E4=BB=B6=E6=9E=84=E9=80=A0?= =?UTF-8?q?=E5=99=A8=E6=B3=A8=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/template/Controller.java.vm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pigx-visual/pigx-codegen/src/main/resources/template/Controller.java.vm b/pigx-visual/pigx-codegen/src/main/resources/template/Controller.java.vm index d79debba7..99956fd46 100755 --- a/pigx-visual/pigx-codegen/src/main/resources/template/Controller.java.vm +++ b/pigx-visual/pigx-codegen/src/main/resources/template/Controller.java.vm @@ -26,7 +26,7 @@ import ${package}.${moduleName}.service.${className}Service; import org.springframework.security.access.prepost.PreAuthorize; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; -import lombok.AllArgsConstructor; +import lombok.RequiredArgsConstructor; import org.springframework.web.bind.annotation.*; @@ -37,7 +37,7 @@ import org.springframework.web.bind.annotation.*; * @date ${datetime} */ @RestController -@AllArgsConstructor +@RequiredArgsConstructor @RequestMapping("/${pathName}" ) @Api(value = "${pathName}", tags = "${comments}管理") public class ${className}Controller {