|
@@ -6,6 +6,8 @@ import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
import org.springframework.cloud.context.config.annotation.RefreshScope;
|
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
|
|
+import java.util.Optional;
|
|
|
+
|
|
|
/**
|
|
|
* 应用全局功能配置
|
|
|
*
|
|
@@ -20,6 +22,6 @@ public class AppGlobalServiceConfig {
|
|
|
/**
|
|
|
* 用户加入群组功能
|
|
|
*/
|
|
|
- @Value("group.member.join:true")
|
|
|
+ @Value("${group.member.join:true}")
|
|
|
private Boolean groupMemberJoin;
|
|
|
}
|