dev-discount
胡锐 3 years ago
parent 48be6a5383
commit 1a9376d420
  1. 6
      hai-service/src/main/java/com/hai/config/MqttProviderConfig.java

@ -14,13 +14,13 @@ import org.springframework.context.annotation.Configuration;
@Configuration @Configuration
@Slf4j @Slf4j
public class MqttProviderConfig { public class MqttProviderConfig {
@Value("${spring.mqtt.username}") // @Value("${spring.mqtt.username}")
private String username; private String username;
@Value("${spring.mqtt.password}") // @Value("${spring.mqtt.password}")
private String password; private String password;
@Value("${spring.mqtt.url}") // @Value("${spring.mqtt.url}")
private String hostUrl; private String hostUrl;
/* @Value("${spring.mqtt.client.id}") /* @Value("${spring.mqtt.client.id}")

Loading…
Cancel
Save