mirror of
https://github.com/luoye663/e5.git
synced 2024-12-26 03:38:53 +00:00
修复读配置文件无法转int问题
This commit is contained in:
parent
c977e4e016
commit
18d4af6043
@ -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