package org.springblade.common.constant;

import cn.hutool.extra.spring.SpringUtil;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.core.env.Environment;
import org.springframework.stereotype.Component;

/**
 * @author July
 * @version 1.0.0
 * @ClassName CallbackServeUrl.java
 * @Description 回调服务地址
 * @createTime 2021年11月15日 10:50:00
 */
//@Component
public class CallbackServeUrl {

	public static final String CALL_BACK_SERVE_URL = SpringUtil.getBean(Environment.class).getProperty("callback.domain");

	/*public static String CALL_BACK_SERVE_URL;

	@Value("${callback.domain}")
	public void setDomain(String domain) {
		CallbackServeUrl.CALL_BACK_SERVE_URL = domain;
	}*/
}
