| 12345678910111213141516171819 |
- package com.uas.ps.product;
- import com.uas.ps.properties.UrlProperties;
- import org.springframework.context.annotation.Bean;
- import org.springframework.context.annotation.Configuration;
- /**
- * RestTemplate 配置类
- * @author hulh
- */
- @Configuration
- public class UrlConfiguration {
- @Bean
- public UrlProperties servletRegistrationUrl() {
- return new UrlProperties();
- }
- }
|