| | |
| | | package com.xcong.excoin.configurations; |
| | | |
| | | import com.xcong.excoin.configurations.properties.AliOssProperties; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.boot.SpringBootConfiguration; |
| | | import org.springframework.web.method.support.HandlerMethodArgumentResolver; |
| | | import org.springframework.web.servlet.config.annotation.CorsRegistry; |
| | | import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.util.List; |
| | | |
| | | /** |
| | |
| | | @SpringBootConfiguration |
| | | @Slf4j |
| | | public class WebMvcConfig implements WebMvcConfigurer { |
| | | |
| | | @Resource |
| | | private AliOssProperties aliOssProperties; |
| | | |
| | | |
| | | @Override |
| | | public void addArgumentResolvers(List<HandlerMethodArgumentResolver> resolvers) { |