package com.haiyisoft.loveLifeWeb.config;

import javax.annotation.PostConstruct;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;


@Component
public class UrlConfigUtil {

private static String loveLifeService;
private static String loveLifeRightService;
@Value("${loveLifeService}")
private String loveLifeService1;
@Value("${loveLifeRightService}")
private String loveLifeRightService1;
public static String getLoveLifeService() {
return loveLifeService;
}
public static String getloveLifeRightService() {
return loveLifeRightService;
}

@PostConstruct
public void getApiToken() {
loveLifeService = this.loveLifeService1;
loveLifeRightService=this.loveLifeRightService1;
}

}

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-10-06
  • 2022-12-23
  • 2021-10-23
猜你喜欢
  • 2022-12-23
  • 2021-07-03
  • 2022-12-23
  • 2021-10-26
  • 2021-07-29
  • 2021-10-06
  • 2022-12-23
相关资源
相似解决方案