From 8acc07852a62e68a5dcbde685cbc33f6384ecf78 Mon Sep 17 00:00:00 2001 From: cwchen <1048842385@qq.com> Date: Mon, 26 Feb 2024 09:18:18 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=92=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../system/base/controller/RoleController.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/securitycontrol-model/securitycontrol-system/src/main/java/com/securitycontrol/system/base/controller/RoleController.java b/securitycontrol-model/securitycontrol-system/src/main/java/com/securitycontrol/system/base/controller/RoleController.java index c93b7f2..cc4954c 100644 --- a/securitycontrol-model/securitycontrol-system/src/main/java/com/securitycontrol/system/base/controller/RoleController.java +++ b/securitycontrol-model/securitycontrol-system/src/main/java/com/securitycontrol/system/base/controller/RoleController.java @@ -4,6 +4,8 @@ import com.securitycontrol.system.base.service.IRoleService; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; +import javax.annotation.Resource; + /** * @author:cwchen * @date:2024-02-23-18:28 @@ -14,6 +16,6 @@ import org.springframework.web.bind.annotation.RestController; @RequestMapping("/sys/role/") public class RoleController { - @RT + @Resource(name = "IRoleService") private IRoleService service; }