mirror of
https://github.com/luoye663/e5.git
synced 2024-12-25 11:18:50 +00:00
修复读配置文件无法转int问题
This commit is contained in:
parent
7d7b6e9c55
commit
a6fd8bbde7
@ -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) );
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user