rain
2024-04-23 fb5e5269118bdfbf324b410defcd0831d4ecea27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package com.dji.sample.manage.model.common;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
 
/**
 * @author sean
 * @version 1.3
 * @date 2022/11/10
 */
@Component
@ConfigurationProperties("ntp.server")
public class NtpServerProperties {
 
    public static String host;
 
    public void setHost(String host) {
        NtpServerProperties.host = host;
    }
}