Commit 68274a01 by 陶光胜

二维码

parent 32bc4b64
package com.gic.enterprise.web.config;
import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
@Configuration
@EnableApolloConfig
public class Config {
@Value("${host}")
private String host;
public String getHost() {
return host;
}
public void setHost(String host) {
this.host = host;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment