提交代码

dev-discount
胡锐 2 years ago
parent 96b72fbc51
commit 72150f505a
  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