網(wǎng)易云課堂uni-app多端企業(yè)網(wǎng)盤全棧開發(fā)
? ? ? ?log.info(String.format("Deregister nacos instance (%s - %s:%d)", applicationName, addr.getHostAddress(), port));
? ? ? ?NamingService namingService = nacosDiscoveryProperties.namingServiceInstance();
? ? ? ?try {
? ? ? ? ? ?namingService.deregisterInstance(applicationName, addr.getHostAddress(), port);
? ? ? ?} catch (NacosException e) {
? ? ? ? ? ?log.error(e.getMessage(), e);
? ? ? ? ? ?result.put("code", "failure");
? ? ? ? ? ?result.put("message", e.getMessage());
標(biāo)簽: