| | |
| | | body.put("chargeId", orderId); |
| | | String paramOut = null; |
| | | try { |
| | | paramOut = DingdingChargeUtils.execute("net.equip.charge.slow.run", body.toJSONString(), HttpMethod.GET); |
| | | paramOut = KeHangChargeUtils.execute("net.equip.charge.slow.run", body.toJSONString(), HttpMethod.GET); |
| | | } catch (Exception e) { |
| | | throw new IllegalArgumentException(e.getMessage()); |
| | | } |
| | |
| | | body.put("port", chargeMachinePortDto.getPortCode()); |
| | | String paramOut = null; |
| | | try { |
| | | paramOut = DingdingChargeUtils.execute("net.equip.charge.slow.run.stop", body.toJSONString(), HttpMethod.GET); |
| | | paramOut = KeHangChargeUtils.execute("net.equip.charge.slow.run.stop", body.toJSONString(), HttpMethod.GET); |
| | | } catch (Exception e) { |
| | | throw new IllegalArgumentException(e.getMessage()); |
| | | } |
| | |
| | | body.put("equipCd", chargeMachineDto.getMachineCode()); |
| | | String paramOut = null; |
| | | try { |
| | | paramOut = DingdingChargeUtils.execute("net.equip.charge.slow.port.query", body.toJSONString(), HttpMethod.GET); |
| | | paramOut = KeHangChargeUtils.execute("net.equip.charge.slow.port.query", body.toJSONString(), HttpMethod.GET); |
| | | } catch (Exception e) { |
| | | throw new IllegalArgumentException(e.getMessage()); |
| | | } |
| | |
| | | body.put("equipCd", chargeMachineDto.getMachineCode()); |
| | | String paramOut = null; |
| | | try { |
| | | paramOut = DingdingChargeUtils.execute("net.equip.online.query", body.toJSONString(), HttpMethod.GET); |
| | | paramOut = KeHangChargeUtils.execute("net.equip.online.query", body.toJSONString(), HttpMethod.GET); |
| | | } catch (Exception e) { |
| | | throw new IllegalArgumentException(e.getMessage()); |
| | | } |