提交 78eacd46 authored 作者: yangli's avatar yangli

删除

上级 167c954c
...@@ -21,7 +21,6 @@ import org.springframework.web.bind.annotation.RequestMapping; ...@@ -21,7 +21,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import javax.annotation.PostConstruct;
import javax.annotation.Resource; import javax.annotation.Resource;
import javax.validation.constraints.NotNull; import javax.validation.constraints.NotNull;
import java.io.BufferedReader; import java.io.BufferedReader;
...@@ -60,7 +59,7 @@ public class RemoteControlController { ...@@ -60,7 +59,7 @@ public class RemoteControlController {
@Autowired @Autowired
private MacAddrService macAddrService; private MacAddrService macAddrService;
@PostConstruct // @PostConstruct
public void init() { public void init() {
try {// 关闭VNC Server服务的自启动 try {// 关闭VNC Server服务的自启动
Runtime.getRuntime().exec("cmd /c sc config uvnc_service start= demand").waitFor(); Runtime.getRuntime().exec("cmd /c sc config uvnc_service start= demand").waitFor();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论