zhang
7 天以前 12c3f4de5ce151b50e187066a3c105260523abb8
zy-acs-manager/src/main/java/com/zy/acs/manager/core/integrate/charge/ChargeTestController.java
@@ -30,8 +30,8 @@
    @IntegrationAuth(name = NamespaceType.RCS_STA_QUERY)
    @GetMapping("/charge/{type}")
    public R test(@PathVariable("type") Integer type){
        ModbusTCPMaster modbusTCPMaster = chargeService.get("10");
    public R test(@PathVariable("type") String type){
        ModbusTCPMaster modbusTCPMaster = chargeService.get(type);
        ChargerStatus status = chargeCoreService.getStatus(modbusTCPMaster);
        return R.ok(status);
    }