generated from root/miduo_server
master
parent
43cb649ab7
commit
ff527f4e5b
|
@ -76,12 +76,13 @@ public class ServerInfoController {
|
|||
|
||||
/**
|
||||
* 服务器信息界面
|
||||
* @param map
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping(value = "/findServerInfoNotCache", method = {RequestMethod.POST, RequestMethod.GET})
|
||||
public String findServerInfoNotCache(ModelMap map) throws Exception {
|
||||
TaskKit.scheduleWithFixedOne(this::refreshCache,0);
|
||||
if (state == 0){
|
||||
TaskKit.scheduleWithFixedOne(this::refreshCache,0);
|
||||
}
|
||||
return findServerInfo(map,0);
|
||||
}
|
||||
|
||||
|
@ -206,7 +207,7 @@ public class ServerInfoController {
|
|||
|
||||
/**
|
||||
* 修改服务器信息
|
||||
* @param request
|
||||
* @param serverInfo
|
||||
* @return
|
||||
* @throws Exception
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue