WhiteBoardProperties.java 358 B

123456789101112131415
  1. package com.ym.config;
  2. import lombok.Data;
  3. import org.springframework.boot.context.properties.ConfigurationProperties;
  4. import org.springframework.stereotype.Component;
  5. /**
  6. * Created by weiqinxiao on 2019/2/28.
  7. */
  8. @Data
  9. @Component
  10. @ConfigurationProperties(prefix = "cn.rongcloud.whiteboard")
  11. public class WhiteBoardProperties {
  12. private String host;
  13. }