lxw
2022-05-21 9058c7178cd9a7aece34b278b4c7bec488f95cc1
src/main/java/com/whyc/controller/ComInfoController.java
@@ -20,9 +20,15 @@
    public Response getComInfoRSA(){
        return service.getComInfoRSA();
    }
    @ApiOperation("获取电脑cpu的ID和主板的序列号(rsa解密后的)")
    @PostMapping("getComInfo")
    public Response getComInfo(@RequestBody ComInfo cInfo){
        return service.getComInfo(cInfo);
    @GetMapping("getComInfo")
    public Response getComInfo(@RequestParam String serialNumberMixRSA){
        return service.getComInfo(serialNumberMixRSA);
    }
    @ApiOperation("监测后台是否启动")
    @GetMapping("getStart")
    public Response getStart(){
        return new Response().set(1);
    }
}