From a6fd8bbde7f7c10234be6a6f8374a489750d825b Mon Sep 17 00:00:00 2001 From: LuoYe_MyWork Date: Tue, 22 Sep 2020 15:20:09 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AF=BB=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E6=97=A0=E6=B3=95=E8=BD=ACint=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/io/qyi/e5/controller/admin/AdminController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/io/qyi/e5/controller/admin/AdminController.java b/src/main/java/io/qyi/e5/controller/admin/AdminController.java index 9325e9b..a1ce8ca 100644 --- a/src/main/java/io/qyi/e5/controller/admin/AdminController.java +++ b/src/main/java/io/qyi/e5/controller/admin/AdminController.java @@ -32,7 +32,7 @@ public class AdminController { RedisUtil redisUtil; @Value("user.admin.githubId") - int adminGithubId; + String adminGithubId; /** * 测试队列 @@ -42,7 +42,7 @@ public class AdminController { */ @GetMapping("/send") public void send() { - Task.sendTaskOutlookMQ(adminGithubId); + Task.sendTaskOutlookMQ(Integer.valueOf(adminGithubId) ); } /**