From 1d9e10aa1a40d5e9411cadf4c0e8c33de265dba2 Mon Sep 17 00:00:00 2001 From: lihengming <89921218@qq.com> Date: Mon, 26 Jun 2017 14:31:47 +0800 Subject: [PATCH] add > RESTFul controller template --- src/test/resources/generator/template/controller.ftl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/resources/generator/template/controller.ftl b/src/test/resources/generator/template/controller.ftl index 4a1f0bb..d14c445 100644 --- a/src/test/resources/generator/template/controller.ftl +++ b/src/test/resources/generator/template/controller.ftl @@ -10,6 +10,7 @@ import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import javax.annotation.Resource; +import java.util.List; /** * Created by ${author} on ${date}.