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) ); } /**