|
@@ -14,9 +14,6 @@ import java.util.Map;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import com.persagy.cameractl.service.HCNetSDKWindows;
|
|
|
import com.persagy.cameractl.utils.Camera;
|
|
@@ -27,7 +24,7 @@ import com.sun.jna.ptr.IntByReference;
|
|
|
|
|
|
import cn.hutool.core.date.DateUtil;
|
|
|
|
|
|
-@RestController
|
|
|
+//@RestController
|
|
|
public class TestController {
|
|
|
public static Logger logger = LoggerFactory.getLogger(TestController.class);
|
|
|
|
|
@@ -35,7 +32,7 @@ public class TestController {
|
|
|
|
|
|
private volatile HCNetSDKWindows hcNetSdk;
|
|
|
|
|
|
- @RequestMapping(value = "/test", method = RequestMethod.POST)
|
|
|
+ //@RequestMapping(value = "/test", method = RequestMethod.POST)
|
|
|
public ResultClass hello(@RequestBody Camera camera) {
|
|
|
ResultClass returnResult = new ResultClass();
|
|
|
String targetFile = OtherTools.getVideoFilePath();
|