src/main/java/com/whyc/controller/ComInfoController.java
@@ -20,9 +20,10 @@ 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); } }